SpatialEdmFunctions.GeographyPolygonFromText Méthode

Définition

Crée un DbFunctionExpression qui appelle la fonction « GeographyPolygonFromText » canonique avec les arguments spécifiés. polygonWellKnownText doit avoir un type de résultat de chaîne, tandis qu’il coordinateSystemId doit avoir un type de résultat numérique entier. Le type de résultat de l’expression est Edm.Geography.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyPolygonFromText(System::Data::Common::CommandTrees::DbExpression ^ polygonWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPolygonFromText(System.Data.Common.CommandTrees.DbExpression polygonWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPolygonFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPolygonFromText (polygonWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Paramètres

polygonWellKnownText
DbExpression

Expression qui fournit la représentation textuelle connue de la valeur de polygone géographique.

coordinateSystemId
DbExpression

Expression qui fournit l’ID de système de coordonnées (SRID) du système de coordonnées de la valeur de polygone géographique.

Retours

Nouvelle DbFunctionExpression qui retourne une nouvelle valeur de polygone géographique en fonction des valeurs spécifiées.

Exceptions

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

S’applique à