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 integer. 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 geography.

coordinateSystemId
DbExpression

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

Valori restituiti

Nuovo dbFunctionExpression che restituisce un nuovo valore della raccolta geography in base ai valori specificati.

Eccezioni

geographyCollectionWellKnownText coordinateSystemId

geographyCollectionWellKnownText coordinateSystemId

Si applica a