SpatialEdmFunctions.GeographyCollectionFromText Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyCollectionFromText med de angivna argumenten. geographyCollectionWellKnownText 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 ^ GeographyCollectionFromText(System::Data::Common::CommandTrees::DbExpression ^ geographyCollectionWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyCollectionFromText(System.Data.Common.CommandTrees.DbExpression geographyCollectionWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyCollectionFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyCollectionFromText (geographyCollectionWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parametrar

geographyCollectionWellKnownText
DbExpression

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

coordinateSystemId
DbExpression

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

Returer

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

Undantag

geographyCollectionWellKnownText coordinateSystemId

geographyCollectionWellKnownText coordinateSystemId

Gäller för