SpatialEdmFunctions.Latitude(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska latitudfunktionen med det angivna argumentet, som måste ha resultattypen Edm.Geography. Resultattypen för uttrycket är 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

Parametrar

geographyValue
DbExpression

Ett uttryck som anger det geografiska punktvärde som latitudvärdet ska hämtas från.

Returer

En ny DbFunctionExpression som antingen returnerar Latitude-värdet geographyValue för eller null om geographyValue inte är en punkt.

Undantag

geographyValue

geographyValue

Gäller för