SpatialEdmFunctions.GeometryCollectionFromText Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeometryCollectionFromText med de angivna argumenten. geometryCollectionWellKnownText måste ha en strängresultattyp, medan coordinateSystemId måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är Edm.Geometry.

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

Parametrar

geometryCollectionWellKnownText
DbExpression

Ett uttryck som ger den välkända textrepresentationen av geometrisamlingsvärdet.

coordinateSystemId
DbExpression

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

Returer

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

Undantag

geometryCollectionWellKnownText coordinateSystemId

geometryCollectionWellKnownText coordinateSystemId

Gäller för