Sdílet prostřednictvím


SpatialEdmFunctions.GeometryLineFromText(DbExpression, DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonický 'GeometryLineFromText' funkce se zadanými argumenty. lineWellKnownText musí mít typ výsledku řetězce, zatímco coordinateSystemId musí mít celočíselný typ výsledku. Typ výsledku výrazu je Edm.Geometry.

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

Parametry

lineWellKnownText
DbExpression

Výraz, který poskytuje dobře známou textovou reprezentaci hodnoty čáry geometrie.

coordinateSystemId
DbExpression

Výraz, který poskytuje ID souřadnicového systému (SRID) souřadnicového systému hodnoty čáry geometrie.

Návraty

Nový DbFunctionExpression, který vrátí novou hodnotu čáry geometrie na základě zadaných hodnot.

Výjimky

lineWellKnownText coordinateSystemId

lineWellKnownText coordinateSystemId

Platí pro