SpatialEdmFunctions.CoordinateSystemId(DbExpression) Metodo

Definizione

Crea un DbFunctionExpression oggetto che richiama la funzione 'CoordinateSystemId' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore da cui recuperare l'ID del sistema di coordinate (SRID).

Valori restituiti

Nuovo dbFunctionExpression che restituisce il valore SRID intero da spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a