EdmFunctions.LongCount(DbExpression) Metoda

Definice

Vytvoří, DbFunctionExpression která vyvolá kanonickou funkci BigCount pro zadanou kolekci. Typ výsledku výrazu je 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

Parametry

collection
DbExpression

Výraz, který určuje kolekci, pro kterou se má vypočítat hodnota počtu.

Návraty

Nový DbFunctionExpression, který vytvoří hodnotu počtu.

Výjimky

collection je null.

collection je neplatný.

Platí pro