SpatialEdmFunctions.Latitude(DbExpression) Metoda

Definice

Vytvoří, DbFunctionExpression která vyvolá kanonickou funkci "Zeměpisná šířka" 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 ^ Latitude(System::Data::Common::CommandTrees::DbExpression ^ geographyValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Latitude(this System.Data.Common.CommandTrees.DbExpression geographyValue);
static member Latitude : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Latitude (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á šířka.

Návraty

Nový DbFunctionExpression, který vrátí buď hodnotu geographyValue Zeměpisná šířka, nebo null pokud geographyValue není bod.

Výjimky

geographyValue

geographyValue

Platí pro