DbExpressionBuilder.Element(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新集合 DbElementExpression ,將集合轉換成單元素集。
public static System.Data.Entity.Core.Common.CommandTrees.DbElementExpression Element(this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Element : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbElementExpression
<Extension()>
Public Function Element (argument As DbExpression) As DbElementExpression
參數
- argument
- DbExpression
一個指定輸入集合的表達式。
傳回
一個 DbElementExpression,代表集合參數轉換為單例的過程。
例外狀況
參數為空。
參數沒有集合結果型別。