SpatialEdmFunctions.SpatialDimension(DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'SpatialDimension' canónica 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

Expresión que especifica el valor del que se debe recuperar el valor dimension.

Devoluciones

Nuevo DbFunctionExpression que devuelve el valor dimension de spatialValue.

Excepciones

spatialValue

spatialValue

Se aplica a