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 static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Measure (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member Measure : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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ý vrací buď Measure of spatialValue, nebo null, pokud spatialValue není bod.

Platí pro