EdmFunctions.Count(DbExpression) Yöntem

Tanım

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

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

Parametreler

collection
DbExpression

Sayı değerinin hesaplanması gereken koleksiyonu belirten ifade.

Döndürülenler

Sayı değerini üreten yeni bir DbFunctionExpression.

Özel durumlar

collection, null'e eşittir.

collection geçersiz.

Şunlara uygulanır