DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metoda

Definicja

Tworzy nowy DbProjectExpression element, który projektuje określone wyrażenie w danym zestawie danych wejściowych.

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

Powiązanie wyrażenia określające zestaw danych wejściowych.

projection
DbExpression

Wyrażenie do projekcji nad zestawem.

Zwraca

Nowy dbProjectExpression reprezentujący operację projekcji.

Wyjątki

input lub projection ma wartość null.

Dotyczy