SpatialEdmFunctions.PointCount(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , který vyvolá kanonickou funkci PointCount se zadaným argumentem, který musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Typ výsledku výrazu je Edm.Int32.

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

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu prostorového řetězce řádku, ze které se má načíst počet bodů.

Návraty

Nový DbFunctionExpression, který vrátí buď počet bodů v spatialValue , nebo null pokud spatialValue není řádek řetězec.

Výjimky

spatialValue

spatialValue

Platí pro