SpatialEdmFunctions.GeographyCollectionFromText Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « GeographyCollectionFromText » canonique avec les arguments spécifiés. geographyCollectionWellKnownText 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 ^ GeographyCollectionFromText(System::Data::Common::CommandTrees::DbExpression ^ geographyCollectionWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyCollectionFromText(System.Data.Common.CommandTrees.DbExpression geographyCollectionWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyCollectionFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyCollectionFromText (geographyCollectionWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Paramètres

geographyCollectionWellKnownText
DbExpression

Expression qui fournit la représentation textuelle connue de la valeur de la collection geography.

coordinateSystemId
DbExpression

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

Retours

Nouvelle DbFunctionExpression qui retourne une nouvelle valeur de collection geography en fonction des valeurs spécifiées.

Exceptions

geographyCollectionWellKnownText coordinateSystemId

geographyCollectionWellKnownText coordinateSystemId

S’applique à