SpatialEdmFunctions.SpatialDimension(DbExpression) Méthode

Définition

Crée une DbFunctionExpression appelant la fonction « SpatialDimension » canonique avec l'argument spécifié, qui doit avoir un résultat de type Edm.Geography ou Edm.Geometry. Le résultat de l’expression est de type 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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur à partir de laquelle la valeur Dimension doit être récupérée.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur Dimension à partir de spatialValue.

Exceptions

spatialValue

spatialValue

S’applique à