SpatialEdmFunctions.StartPoint(DbExpression) Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction «StartPoint » canonique avec l'argument spécifié, qui doit avoir un résultat de type Edm.Geography ou Edm.Geometry. Le type de résultat est identique à 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 soit le point de départ de spatialValue, soit null si spatialValue n'est pas une courbe.

Exceptions

spatialValue

spatialValue

S’applique à