SpatialEdmFunctions.GeographyPointFromText(DbExpression, DbExpression) Method

Definition

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.

Applies to