SpatialEdmFunctions.SpatialDimension(DbExpression) Metodo

Definizione

Crea un DbFunctionExpression oggetto che richiama la funzione 'SpatialDimension' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore da cui recuperare il valore Dimension.

Valori restituiti

Nuovo DbFunctionExpression che restituisce il valore dimension da spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a