Share via


SpatialEdmFunctions.GeographyCollectionFromText Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'GeographyCollectionFromText' canonica con gli argomenti specificati. geographyCollectionWellKnownText deve avere un tipo di risultato stringa, mentre coordinateSystemId deve avere un tipo di risultato numerico intero. Il tipo di risultato dell'espressione è 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

Parametri

geographyCollectionWellKnownText
DbExpression

Espressione che fornisce la rappresentazione di testo nota del valore della raccolta geografica.

coordinateSystemId
DbExpression

Espressione che rappresenta l'ID del sistema di coordinate (SRID) del sistema di coordinate del valore della raccolta geografica.

Restituisce

Nuovo DbFunctionExpression che restituisce un nuovo valore della raccolta geografica basato sui valori specificati.

Eccezioni

geographyCollectionWellKnownText coordinateSystemId

geographyCollectionWellKnownText coordinateSystemId

Si applica a