Sdílet prostřednictvím


SpatialEdmFunctions.SpatialDimension(DbExpression) Metoda

Definice

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

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu, ze které se má načíst hodnota dimenze.

Návraty

Nový DbFunctionExpression, který vrací dimension hodnotu z spatialValue.

Platí pro