DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新資料 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,代表投影操作。
例外狀況
input 或 projection 為空值。