SpatialEdmFunctions.SpatialLength(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'SpatialLength' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è Edm.Double.

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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore della curva spaziale da cui recuperare la lunghezza.

Valori restituiti

Nuovo DbFunctionExpression che restituisce la lunghezza di spatialValue o null se spatialValue non è una curva.

Eccezioni

spatialValue

spatialValue

Si applica a