SpatialEdmFunctions.GeographyPolygonFromBinary Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyPolygonFromBinary med de angivna argumenten. polygonWellKnownBinaryValue måste ha en binär resultattyp, 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 ^ GeographyPolygonFromBinary(System::Data::Common::CommandTrees::DbExpression ^ polygonWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPolygonFromBinary(System.Data.Common.CommandTrees.DbExpression polygonWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPolygonFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPolygonFromBinary (polygonWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametrar

polygonWellKnownBinaryValue
DbExpression

Ett uttryck som ger den välkända binära representationen av geografipolygonvärdet.

coordinateSystemId
DbExpression

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

Returer

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

Undantag

polygonWellKnownBinaryValue coordinateSystemId

polygonWellKnownBinaryValue coordinateSystemId

Gäller för