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

Count değerinin hesaplanması gereken koleksiyonu belirten bir ifade.

Döndürülenler

Count değerini üreten yeni bir DbFunctionExpression.

Özel durumlar

collection, null değeridir.

collection geçersizdir.

Şunlara uygulanır