Bewerken

Delen via


DbProjectExpression.Projection Property

Definition

Gets or sets the DbExpression that defines the projection.

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Projection { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Projection { get; }
member this.Projection : System.Data.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