SpatialEdmFunctions.PointCount(DbExpression) Metodo

Definizione

Crea un DbFunctionExpression oggetto che richiama la funzione 'PointCount' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore della stringa di linea spaziale da cui recuperare il numero di punti.

Valori restituiti

Nuovo DbFunctionExpression che restituisce il numero di punti in spatialValue o null se spatialValue non è una stringa di riga.

Eccezioni

spatialValue

spatialValue

Si applica a