Share via


DbProjectExpression.Projection Property

Definition

Gets the DbExpression that defines the projection.

public System.Data.Entity.Core.Common.CommandTrees.DbExpression Projection { get; }
member this.Projection : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public ReadOnly Property Projection As DbExpression

Property Value

The DbExpression that defines the projection.

Exceptions

The expression is null.

The expression is not associated with the command tree of the DbProjectExpression , or its result type is not equal or promotable to the reference type of the current projection.

Applies to