SpatialEdmFunctions.PointCount(DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « PointCount » canonique avec l’argument spécifié, qui doit avoir un type de résultat Edm.Geography ou Edm.Geometry. Le type de résultat de l’expression est 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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur de chaîne de ligne spatiale à partir de laquelle le nombre de points doit être récupéré.

Retours

Nouvelle DbFunctionExpression qui retourne le nombre de points dans spatialValue ou null s’il ne s’agit spatialValue pas d’une chaîne de ligne.

Exceptions

spatialValue

spatialValue

S’applique à