When I am using the Distance method, it asks for 2 locations, and returns a double.
A double value that specifies the distance between the two closest points in geographyValue and otherGeography (MSDN).
But is it meters? kilometers? miles?
When I am using the Distance method, it asks for 2 locations, and returns a double.
A double value that specifies the distance between the two closest points in geographyValue and otherGeography (MSDN).
But is it meters? kilometers? miles?
this answer indicates meters:
System.Data.Spatial DbGeography.Distance units?
the answerer has an srid of 4326. You can check what yours is in the DefaultCoordinateSystemId of your DbGeography object.