SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'GeometryPointFromText' canonica con gli argomenti specificati. pointWellKnownText deve avere un tipo di risultato stringa, mentre coordinateSystemId deve avere un tipo di risultato numerico integer. Il tipo di risultato dell'espressione è Edm.Geometry.

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

Parametri

pointWellKnownText
DbExpression

Espressione che fornisce la rappresentazione di testo nota del valore del punto geometrico.

coordinateSystemId
DbExpression

Espressione che fornisce l'ID del sistema di coordinate (SRID) del sistema di coordinate del valore del punto geometrico.

Valori restituiti

Nuovo DbFunctionExpression che restituisce un nuovo valore di punto geometrico in base ai valori specificati.

Eccezioni

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

Si applica a