Sdílet prostřednictvím


DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metoda

Definice

Vytvoří nový DbProjectExpression , který projektuje zadaný výraz na danou vstupní sadu.

public static System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression Project(this System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding input, System.Data.Entity.Core.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression
<Extension()>
Public Function Project (input As DbExpressionBinding, projection As DbExpression) As DbProjectExpression

Parametry

input
DbExpressionBinding

Vazba výrazu, která určuje vstupní sadu.

projection
DbExpression

Výraz, který se má promítnout přes sadu.

Návraty

Nový DbProjectExpression, který představuje operaci projekce.

Výjimky

vstup nebo projekce má hodnotu null.

Platí pro