DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metódus

Definíció

Létrehoz egy újat DbProjectExpression , amely a megadott kifejezést az adott bemeneti csoporton keresztül projekteli.

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

Paraméterek

input
DbExpressionBinding

A bemeneti készletet meghatározó kifejezéskötés.

projection
DbExpression

Egy kifejezés, amely a halmazon keresztül kivetítendő.

Válaszok

Egy új DbProjectExpression, amely a vetítési műveletet jelöli.

Kivételek

input vagy projection null értékű.

A következőre érvényes: