DbExpressionBuilder.Element(DbExpression) 方法

定義

建立新的 DbElementExpression,它會將集合轉換成單一子句。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbElementExpression ^ Element(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbElementExpression Element (this System.Data.Common.CommandTrees.DbExpression argument);
static member Element : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbElementExpression
<Extension()>
Public Function Element (argument As DbExpression) As DbElementExpression

參數

argument
DbExpression

指定輸入集的運算式。

傳回

DbElementExpression,表示將集合引數轉換成單一子句。

例外狀況

argument 為 null。

argument 沒有集合結果類型。

適用於