SpatialEdmFunctions.SpatialLength(DbExpression) Método

Definição

Cria um DbFunctionExpression que invoca a função canónica 'SpatialLength' com o argumento especificado, que deve ter um tipo de resultado Edm.Geography ou Edm.Geometry. O tipo de resultado da expressão é 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

Uma expressão que especifica o valor da curva espacial de onde o comprimento deve ser recuperado.

Devoluções

Uma nova DbFunctionExpression que devolve o comprimento de spatialValue ou null se spatialValue não for uma curva.

Exceções

spatialValue

spatialValue

Aplica-se a