Sdílet prostřednictvím


SpatialEdmFunctions.GeometryPolygonFromBinary Metoda

Definice

Vytvoří funkci DbFunctionExpression , která vyvolá kanonickou funkci GeometryPolygonFromBinary se zadanými argumenty. polygonWellKnownBinaryValue musí mít binární typ výsledku, 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 ^ GeometryPolygonFromBinary(System::Data::Common::CommandTrees::DbExpression ^ polygonWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryPolygonFromBinary (System.Data.Common.CommandTrees.DbExpression polygonWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryPolygonFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryPolygonFromBinary (polygonWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametry

polygonWellKnownBinaryValue
DbExpression

Výraz, který poskytuje dobře známou binární 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

polygonWellKnownBinaryValue coordinateSystemId

polygonWellKnownBinaryValue coordinateSystemId

Platí pro