SpatialEdmFunctions.CoordinateSystemId(DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische 'CoordinateSystemId'-Funktion mit dem angegebenen Argument aufruft, die einen Ergebnistyp "Edm.Geography" oder "Edm.Geometry" aufweisen muss. Der Ergebnistyp des Ausdrucks ist Edm.Int32.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ CoordinateSystemId(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression CoordinateSystemId(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member CoordinateSystemId : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function CoordinateSystemId (spatialValue As DbExpression) As DbFunctionExpression

Parameter

spatialValue
DbExpression

Ein Ausdruck, der den Wert angibt, aus dem die Koordinatensystem-ID (SRID) abgerufen werden soll.

Gibt zurück

Ein neuer DbFunctionExpression-Wert, der den ganzzahligen SRID-Wert zurückgibt spatialValue.

Ausnahmen

spatialValue

spatialValue

Gilt für: