DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metod

Definition

Skapar en ny DbProjectExpression som projicerar det angivna uttrycket över den angivna indatauppsättningen.

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

Parametrar

input
DbExpressionBinding

En uttrycksbindning som anger indatauppsättningen.

projection
DbExpression

Ett uttryck som ska projiceras över uppsättningen.

Returer

En ny DbProjectExpression som representerar projektionen.

Undantag

input eller projection är null.

Gäller för