SpatialEdmFunctions.Longitude Method (DbExpression)
Creates a DbFunctionExpression that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- geographyValue
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
An expression that specifies the geography point value from which the Longitude value should be retrieved.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpressionA new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point.