Sdílet prostřednictvím


SpatialEdmFunctions.SpatialLength(DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonický 'SpatialLength' 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 SpatialLength (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member SpatialLength : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialLength (spatialValue As DbExpression) As DbFunctionExpression

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu prostorové křivky, ze které se má načíst délka.

Návraty

Nový DbFunctionExpression, který vrátí délku spatialValue nebo null pokud spatialValue není křivka.

Platí pro