SpatialEdmFunctions.Elevation(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen Elevation med det angivna argumentet, som måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen för uttrycket är Edm.Double.

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

Parametrar

spatialValue
DbExpression

Ett uttryck som anger det rumsliga punktvärde från vilket värdet för höjd (Z-koordinat) ska hämtas.

Returer

En ny DbFunctionExpression som antingen returnerar höjningsvärdet spatialValue för eller null om spatialValue det inte är en punkt.

Undantag

spatialValue

spatialValue

Gäller för