What is the difference, or intended purpose of these two object that represent the same Geography datatype in a Microsoft SQL Database?
System.Data.Entity.Spatial.DbGeography
and
Microsoft.SqlServer.Types.SqlGeography
They can't be cast between each other, but SqlGeography has additional command when it comes to creating points, polygons etc.
I'm thinking that System.Data.Entity is for use with Entity Framework only, whilst Microsoft.SqlServer is for use when using the SqlCommand directly instead?