SpatialEdmFunctions.GeographyFromText Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto DbFunctionExpression che richiama la funzione 'GeographyFromText' canonica.
Overload
| Nome | Descrizione |
|---|---|
| GeographyFromText(DbExpression) |
Crea un DbFunctionExpression oggetto che richiama la funzione 'GeographyFromText' canonica con l'argomento specificato, che deve avere un tipo di risultato stringa. Il tipo di risultato dell'espressione è Edm.Geography. Il valore ha l'ID del sistema di coordinate predefinito (SRID) del provider sottostante. |
| GeographyFromText(DbExpression, DbExpression) |
Crea un oggetto DbFunctionExpression che richiama la funzione 'GeographyFromText' canonica con gli argomenti specificati.
|
GeographyFromText(DbExpression)
Crea un DbFunctionExpression oggetto che richiama la funzione 'GeographyFromText' canonica con l'argomento specificato, che deve avere un tipo di risultato stringa. Il tipo di risultato dell'espressione è Edm.Geography. Il valore ha l'ID del sistema di coordinate predefinito (SRID) del provider sottostante.
public:
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyFromText(System::Data::Common::CommandTrees::DbExpression ^ wellKnownText);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyFromText(System.Data.Common.CommandTrees.DbExpression wellKnownText);
static member GeographyFromText : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromText (wellKnownText As DbExpression) As DbFunctionExpression
Parametri
- wellKnownText
- DbExpression
Espressione che fornisce la rappresentazione di testo nota del valore geografico.
Valori restituiti
Nuovo DbFunctionExpression che restituisce un nuovo valore geografico in base al valore specificato.
Eccezioni
wellKnownText
wellKnownText
Si applica a
GeographyFromText(DbExpression, DbExpression)
Crea un oggetto DbFunctionExpression che richiama la funzione 'GeographyFromText' canonica con gli argomenti specificati.
wellKnownText 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 ^ GeographyFromText(System::Data::Common::CommandTrees::DbExpression ^ wellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyFromText(System.Data.Common.CommandTrees.DbExpression wellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromText (wellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
Parametri
- wellKnownText
- DbExpression
Espressione che fornisce la rappresentazione di testo nota del valore geografico.
- coordinateSystemId
- DbExpression
Espressione che fornisce l'ID del sistema di coordinate (SRID) del sistema di coordinate del valore geografico.
Valori restituiti
Nuovo DbFunctionExpression che restituisce un nuovo valore geografico in base ai valori specificati.
Eccezioni
wellKnownText
coordinateSystemId
wellKnownText
coordinateSystemId