SpatialEdmFunctions.Latitude(DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « Latitude » canonique avec l’argument spécifié, qui doit avoir un type de résultat Edm.Geography. Le type de résultat de l’expression est 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

Paramètres

geographyValue
DbExpression

Expression qui spécifie la valeur de point géographique à partir de laquelle la valeur Latitude doit être récupérée.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur Latitude ou geographyValuenull si geographyValue ce n’est pas un point.

Exceptions

geographyValue

geographyValue

S’applique à