DbInsertCommandTree.Returning Property

 

Gets a DbExpression that specifies a projection of results to be returned based on the modified rows. If null, indicates no results should be returned from this command.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

public DbExpression Returning { get; }

Property Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that specifies a projection of results to be returned based on the modified rows.

The returning projection includes only the following elements: NewInstance expressionProperty expression.