Udostępnij przez


SpatialEdmFunctions.SpatialDimension(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje kanoniczną funkcję "SpatialDimension" z określonym argumentem, który musi mieć typ wyniku Edm.Geography lub Edm.Geometry. Typ wyniku wyrażenia to 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

Wyrażenie określające wartość, z której ma zostać pobrana wartość wymiaru.

Zwraca

Nowa funkcja DbFunctionExpression zwracająca wartość wymiaru z elementu spatialValue.

Dotyczy