DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新資料 DbProjectExpression ,將指定的表達式投影到給定的輸入集合上。
public static System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression Project(this System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding input, System.Data.Entity.Core.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Entity.Core.Common.CommandTrees.DbExpressionBinding * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression
<Extension()>
Public Function Project (input As DbExpressionBinding, projection As DbExpression) As DbProjectExpression
參數
- input
- DbExpressionBinding
一個表達式綁定,指定輸入集合。
- projection
- DbExpression
一個可以投射在舞台上的表情。
傳回
一個新的 DbProjectExpression,代表投影操作。
例外狀況
輸入或投影為空。