SpatialEdmFunctions.GeographyPointFromText(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbFunctionExpression that invokes the canonical 'GeographyPointFromText' function with the specified arguments.
public:
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyPointFromText(System::Data::Common::CommandTrees::DbExpression ^ pointWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPointFromText (System.Data.Common.CommandTrees.DbExpression pointWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPointFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPointFromText (pointWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
Parameters
- pointWellKnownText
- DbExpression
An expression that provides the well-known text representation of the geography point value.
- coordinateSystemId
- DbExpression
An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue.
Returns
The canonical 'GeographyPointFromText' function.