SpatialEdmFunctions.GeographyLineFromText(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyLineFromText med de angivna argumenten. lineWellKnownText måste ha en strängresultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är Edm.Geography.

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

Parametrar

lineWellKnownText
DbExpression

Ett uttryck som ger den välkända textrepresentationen av geografiradsvärdet.

coordinateSystemId
DbExpression

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

Returer

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

Undantag

lineWellKnownText coordinateSystemId

lineWellKnownText coordinateSystemId

Gäller för