SpatialEdmFunctions.GeographyMultiLineFromText Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en DbFunctionExpression som anropar den kanoniska funktionen GeographyMultiLineFromText med de angivna argumenten.
multiLineWellKnownText 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 ^ GeographyMultiLineFromText(System::Data::Common::CommandTrees::DbExpression ^ multiLineWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyMultiLineFromText(System.Data.Common.CommandTrees.DbExpression multiLineWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyMultiLineFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyMultiLineFromText (multiLineWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
Parametrar
- multiLineWellKnownText
- DbExpression
Ett uttryck som ger den välkända textrepresentationen av geografins flerradsvärde.
- coordinateSystemId
- DbExpression
Ett uttryck som tillhandahåller koordinatsystem-ID (SRID) för det geografiska flerradsvärdets koordinatsystem.
Returer
En ny DbFunctionExpression som returnerar ett nytt geografiskt flerradsvärde baserat på de angivna värdena.
Undantag
multiLineWellKnownText
coordinateSystemId
multiLineWellKnownText
coordinateSystemId