SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Methode

Definition

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

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

Parameter

pointWellKnownText
DbExpression

Ein Ausdruck, der die bekannte Textdarstellung des Geometriepunktwerts bereitstellt.

coordinateSystemId
DbExpression

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

Gibt zurück

Ein neuer DbFunctionExpression-Wert, der einen neuen Geometriepunktwert basierend auf den angegebenen Werten zurückgibt.

Ausnahmen

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

Gilt für: