SpatialEdmFunctions.StartPoint(DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « StartPoint » canonique avec l’argument spécifié, qui doit avoir un type de résultat Edm.Geography ou Edm.Geometry. Le type de résultat est le même que celui de spatialValue.

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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur de la courbe spatiale à partir de laquelle le point de départ doit être récupéré.

Retours

Nouvelle DbFunctionExpression qui retourne le point de départ ou spatialValuenull s’il spatialValue ne s’agit pas d’une courbe.

Exceptions

spatialValue

spatialValue

S’applique à