这两个对象在Microsoft SQL数据库中表示相同Geography数据类型的区别或预期目的是什么?
System.Data.Entity.Spatial.DbGeography
Run Code Online (Sandbox Code Playgroud)
和
Microsoft.SqlServer.Types.SqlGeography
Run Code Online (Sandbox Code Playgroud)
它们不能在彼此之间施放,但SqlGeography在创建点,多边形等时有额外的命令.
我认为这System.Data.Entity只是用于实体框架,而直接Microsoft.SqlServer使用是SqlCommand直接使用?