DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metoda

Definice

Vytvoří nový DbProjectExpression , který prodá zadaný výraz přes danou vstupní sadu.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbProjectExpression ^ Project(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ projection);
public static System.Data.Common.CommandTrees.DbProjectExpression Project(this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.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

input nebo projection má hodnotu null.

Platí pro