DbGeometry.XCoordinate Property

 

Gets the X coordinate of this DbGeometry value, if it represents a point.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

public Nullable<double> XCoordinate { get; }

Property Value

Type: System.Nullable<Double>

The X coordinate value of this geometry value, if it represents a point; otherwise, null.