Sdílet prostřednictvím


SpatialEdmFunctions.GeometryPolygonFromText Metoda

Definice

Vytvoří funkci DbFunctionExpression , která vyvolá kanonickou funkci GeometryPolygonFromText se zadanými argumenty. polygonWellKnownText 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 ^ 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 hodnoty mnohoúhelníku geometrie.

coordinateSystemId
DbExpression

Výraz, který poskytuje ID souřadnicového systému (SRID) souřadnicového systému mnohoúhelníku hodnoty geometrie.

Návraty

Nový DbFunctionExpression, který vrací novou geometrii mnohoúhelník hodnotu na základě zadaných hodnot.

Výjimky

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

Platí pro