SpatialEdmFunctions.StartPoint(DbExpression) Metódus

Definíció

Létrehoz egy DbFunctionExpression olyan parancsot, amely meghívja a canonical "StartPoint" függvényt a megadott argumentummal, amelynek Edm.Geography vagy Edm.Geometry eredménytípussal kell rendelkeznie. Az eredmény típusa megegyezik a következő eredménytípussal 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éterek

spatialValue
DbExpression

Egy kifejezés, amely megadja azt a térbeli görbeértéket, amelyből a kezdőpontot le kell kérni.

Válaszok

Egy új DbFunctionExpression, amely vagy a kezdőpontot spatialValue adja vissza, vagy null ha spatialValue nem görbe.

Kivételek

spatialValue

spatialValue

A következőre érvényes: