SpatialEdmFunctions.StartPoint(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska StartPoint-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 ^ 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

Parametrar

spatialValue
DbExpression

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

Returer

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

Undantag

spatialValue

spatialValue

Gäller för