EdmFunctions.LongCount(DbExpression) Yöntem

Tanım

Belirtilen koleksiyon üzerinde kurallı 'BigCount' işlevini çağıran bir DbFunctionExpression oluşturur. İfadenin sonuç türü Edm.Int64'tür.

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

Parametreler

collection
DbExpression

Count değerinin hesaplanması gereken koleksiyonu belirten ifade.

Döndürülenler

Sayı değerini üreten yeni bir DbFunctionExpression.

Özel durumlar

collection, null değeridir.

collection geçersizdir.

Şunlara uygulanır