SpatialEdmFunctions.Area(DbExpression) Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction « Area » 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.Double.

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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur de la surface spatiale pour laquelle la zone doit être calculée.

Retours

Nouvelle DbFunctionExpression qui retourne soit la zone de spatialValue, soit null si spatialValue n'est pas une surface.

Exceptions

spatialValue

spatialValue

S’applique à