SpatialEdmFunctions.CoordinateSystemId(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke functie 'CoordinateSystemId' aanroept met het opgegeven argument, dat een resultaattype Edm.Geography of Edm.Geometry moet hebben. Het resultaattype van de expressie is 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

Parameters

spatialValue
DbExpression

Een expressie waarmee de waarde wordt opgegeven waaruit de coƶrdinaatsysteem-id (SRID) moet worden opgehaald.

Retouren

Een nieuwe DbFunctionExpression die de gehele SRID-waarde retourneert van spatialValue.

Uitzonderingen

spatialValue

spatialValue

Van toepassing op