SpatialEdmFunctions.GeographyPolygonFromText Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische Funktion "GeographyPolygonFromText" mit den angegebenen Argumenten aufruft. polygonWellKnownText muss einen Zeichenfolgenergebnistyp aufweisen, während coordinateSystemId ein ganzzahliger numerischer Ergebnistyp enthalten sein muss. Der Ergebnistyp des Ausdrucks ist "Edm.Geography".

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

Parameter

polygonWellKnownText
DbExpression

Ein Ausdruck, der die bekannte Textdarstellung des geografischen Polygonwerts bereitstellt.

coordinateSystemId
DbExpression

Ein Ausdruck, der die Koordinatensystem-ID (SRID) des Koordinatensystems des geografischen Polygonwerts bereitstellt.

Gibt zurück

Ein neuer DbFunctionExpression,der einen neuen geografischen Polygonwert basierend auf den angegebenen Werten zurückgibt.

Ausnahmen

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

Gilt für: