SpatialEdmFunctions.GeographyMultiPointFromText Metod

Definition

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

Parametrar

multiPointWellKnownText
DbExpression

Ett uttryck som ger den välkända textrepresentationen av geografins flerpunktsvärde.

coordinateSystemId
DbExpression

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

Returer

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

Undantag

multiPointWellKnownText coordinateSystemId

multiPointWellKnownText coordinateSystemId

Gäller för