SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'GeometryPointFromText' canónica con los argumentos especificados. pointWellKnownText debe tener un tipo de resultado de cadena, mientras que coordinateSystemId debe tener un tipo de resultado numérico entero. El tipo de resultado de la expresión es 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

Parámetros

pointWellKnownText
DbExpression

Expresión que proporciona la representación de texto conocida del valor de punto de geometría.

coordinateSystemId
DbExpression

Expresión que proporciona el identificador del sistema de coordenadas (SRID) del sistema de coordenadas del valor de punto de geometría.

Devoluciones

Nuevo DbFunctionExpression que devuelve un nuevo valor de punto de geometría basado en los valores especificados.

Excepciones

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

Se aplica a