SpatialEdmFunctions.EndPoint(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "EndPoint" z określonym argumentem, który musi mieć typ wyniku Edm.Geography lub Edm.Geometry. Typ wyniku jest taki sam jak typ spatialValue.

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

Parametry

spatialValue
DbExpression

Wyrażenie określające wartość krzywej przestrzennej, z której ma zostać pobrany punkt końcowy.

Zwraca

Nowa funkcja DbFunctionExpression zwracająca punkt spatialValue końcowy lub null , jeśli spatialValue nie jest krzywą.

Wyjątki

spatialValue

spatialValue

Dotyczy