SpatialEdmFunctions.SpatialElementCount(DbExpression) Yöntem

Tanım

DbFunctionExpression Edm.Geography veya Edm.Geometry sonuç türüne sahip olması gereken belirtilen bağımsız değişkenle kurallı 'SpatialElementCount' işlevini çağıran bir oluşturur. İfadenin sonuç türü Edm.Int32'dir.

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

Parametreler

spatialValue
DbExpression

Öğe sayısının alınması gereken coğrafya veya geometri koleksiyonu değerini belirten ifade.

Döndürülenler

içindeki öğe spatialValue sayısını döndüren veya nullspatialValue koleksiyon değilse yeni bir DbFunctionExpression.

Özel durumlar

spatialValue

spatialValue

Şunlara uygulanır