SpatialEdmFunctions.SpatialDimension(DbExpression) Método

Definición

Crea un objeto DbFunctionExpression que invoca la función canónica 'SpatialDimension' con el argumento especificado, que debe tener un tipo de resultado Edm.Geography o Edm.Geometry. El tipo de resultado de la expresión es Edm.Int32.

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

Parámetros

spatialValue
DbExpression

Una expresión que especifica el valor del que se deben recuperar el valor Dimension.

Devoluciones

Nuevo DbFunctionExpression que devuelve el valor de la dimensión de spatialValue.

Excepciones

spatialValue

spatialValue

Se aplica a