SpatialEdmFunctions.EndPoint(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska "EndPoint"-funktionen med det angivna argumentet, som måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen är samma som spatialValueför .

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

Parametrar

spatialValue
DbExpression

Ett uttryck som anger värdet för den rumsliga kurva som slutpunkten ska hämtas från.

Returer

En ny DbFunctionExpression som returnerar antingen slutpunkten spatialValue för eller null om spatialValue inte är en kurva.

Undantag

spatialValue

spatialValue

Gäller för