Compartir a través de


SpatialEdmFunctions.SpatialLength(DbExpression) Método

Definición

Crea un objeto DbFunctionExpression 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 static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialLength (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member SpatialLength : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialLength (spatialValue As DbExpression) As DbFunctionExpression

Parámetros

spatialValue
DbExpression

Una 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.

Se aplica a