DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) 方法

定義

建立一個新資料 DbProjectExpression ,將指定的表達式投影到給定的輸入集合上。

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

參數

input
DbExpressionBinding

一個表達式綁定,指定輸入集合。

projection
DbExpression

一個可以投射在舞台上的表情。

傳回

一個新的 DbProjectExpression,代表投影操作。

例外狀況

inputprojection 為空值。

適用於