EdmFunctions.LongCount(DbExpression) メソッド

定義

指定したコレクションに対して正規の 'BigCount' 関数を呼び出す DbFunctionExpression を作成します。 式の結果の型は Edm.Int64 です。

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

パラメーター

collection
DbExpression

カウント値を計算するコレクションを指定する式。

返品

カウント値を生成する新しい DbFunctionExpression。

例外

collectionnullです。

collection が無効です。

適用対象