SpatialEdmFunctions.AsGml(DbExpression) Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction « AsGml » canonique avec l'argument spécifié, qui doit avoir un résultat de type Edm.Geography ou Edm.Geometry. Le type de résultat de l'expression est Edm.String.

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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur spatiale selon laquelle la représentation de GML (Geography Markup Language) doit être produite.

Retours

Nouvelle DbFunctionExpression qui retourne la représentation de langage de balisage de géographie (GML, Geography Markup Language) de spatialValue.

Exceptions

spatialValue

spatialValue

S’applique à