SpatialEdmFunctions.Longitude(DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a canonical "Longitude" függvényt a megadott argumentummal, amelynek Edm.Geography eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa 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

Paraméterek

geographyValue
DbExpression

Egy kifejezés, amely megadja azt a földrajzi pontértéket, amelyből a hosszúsági értéket le kell kérni.

Válaszok

Egy új DbFunctionExpression, amely a hosszúság értékét geographyValue adja vissza, vagy null ha geographyValue nem pont.

Kivételek

geographyValue

geographyValue

A következőre érvényes: