SpatialEdmFunctions.SpatialLength(DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'SpatialLength' canónica con el argumento especificado, que debe tener un tipo de resultado Edm.Geography o Edm.Geometry. El tipo de resultado de la expresión es 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

Parámetros

spatialValue
DbExpression

Expresión que especifica el valor de curva espacial del que se debe recuperar la longitud.

Devoluciones

Nuevo DbFunctionExpression que devuelve la longitud de spatialValue o null si spatialValue no es una curva.

Excepciones

spatialValue

spatialValue

Se aplica a