SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryPointFromText med de angivna argumenten. pointWellKnownText måste ha en strängresultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är 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

Parametrar

pointWellKnownText
DbExpression

Ett uttryck som ger den välkända textrepresentationen av geometripunktens värde.

coordinateSystemId
DbExpression

Ett uttryck som tillhandahåller koordinatsystem-ID (SRID) för geometripunktvärdets koordinatsystem.

Returer

En ny DbFunctionExpression som returnerar ett nytt geometripunktsvärde baserat på de angivna värdena.

Undantag

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

Gäller för