SpatialEdmFunctions.PointCount(DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'PointCount' 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.Int32.

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

Parámetros

spatialValue
DbExpression

Expresión que especifica el valor de cadena de línea espacial del que se debe recuperar el número de puntos.

Devoluciones

Nuevo DbFunctionExpression que devuelve el número de puntos en spatialValue o null si spatialValue no es una cadena de línea.

Excepciones

spatialValue

spatialValue

Se aplica a