SpatialEdmFunctions.GeometryPolygonFromText Metoda

Definice

Vytvoří volání DbFunctionExpression kanonické funkce GeometryPolygonFromText se zadanými argumenty. polygonWellKnownText musí mít typ výsledku řetězce, zatímco coordinateSystemId musí mít celočíselný číselný typ výsledku. Typ výsledku výrazu je Edm.Geometry.

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

Parametry

polygonWellKnownText
DbExpression

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

coordinateSystemId
DbExpression

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

Návraty

Nový DbFunctionExpression, který vrátí novou hodnotu mnohoúhelníku geometrie na základě zadaných hodnot.

Výjimky

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

Platí pro