Sdílet prostřednictvím


SpatialEdmFunctions.Measure(DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonické "Measure" funkce se zadaným argumentem, který musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Typ výsledku výrazu je Edm.Double.

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

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu prostorového bodu, ze které by měla být načítaná hodnota míry (M).

Návraty

Nový DbFunctionExpression, který vrátí buď Measure of spatialValue nebo null pokud spatialValue není bod.

Výjimky

spatialValue

spatialValue

Platí pro