SpatialEdmFunctions.Longitude(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , která vyvolá kanonickou funkci Zeměpisná délka se zadaným argumentem, který musí mít typ výsledku Edm.Geography. Typ výsledku výrazu je Edm.Double.

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

Parametry

geographyValue
DbExpression

Výraz, který určuje hodnotu zeměpisného bodu, ze které má být načtena hodnota Zeměpisná délka.

Návraty

Nový DbFunctionExpression, který vrátí hodnotu geographyValue Zeměpisná délka nebo null pokud geographyValue není bod.

Výjimky

geographyValue

geographyValue

Platí pro