title: Entity Framework - Return multiple columns on insert / update
body: <p>When I insert entity object to the context or update it, Entity Framework generates query with <code>RETURNING</code> clause pointing to the primary key.</p>
  <p>Pseudo code:</p>
  <pre><code>class Job {
      //Primary key
      public int ID { get; set; }
      
      //Identifier generated via &quot;before insert&quot; postgresql trigger
      public string JobIdentifier { get; set; }
      
      public string Name { get; set; }
  }
  
  using (var context = CreateEFContext())
  {
      var job = new Job() {
          Name = &quot;test job&quot;,
      }
      context.Job.Add(job);
      context.SaveChanges();
      
      //the job identifier is empty
      var generatedJobIdentifier = job.JobIdentifier;
  }
  </code></pre>
  <p>Above code will return only <code>ID</code> column via <code>RETURNING</code> clause on <code>INSERT</code> query, but I'm interested in both <code>ID</code> and <code>JobIdentifier</code> values without calling another query just moment after update or insert.
  My question is how could I instruct Entity Framework to return multiple columns on <code>INSERT</code> query via some additional settings?</p>