SpatialEdmFunctions.GeographyMultiPolygonFromText Metod

Definition

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

Parametrar

multiPolygonWellKnownText
DbExpression

Ett uttryck som ger den välkända textrepresentationen av geografivärdet för flera polygoner.

coordinateSystemId
DbExpression

Ett uttryck som tillhandahåller koordinatsystem-ID (SRID) för geografins koordinatsystem för flera polygonvärden.

Returer

En ny DbFunctionExpression som returnerar ett nytt geografivärde med flera polygoner baserat på de angivna värdena.

Undantag

multiPolygonWellKnownText coordinateSystemId

multiPolygonWellKnownText coordinateSystemId

Gäller för