相关疑难解决方法(0)

实体框架:SqlGeography与DbGeography

这两个对象在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直接使用?

c# sql-server entity-framework spatial

13
推荐指数
1
解决办法
6414
查看次数

标签 统计

c# ×1

entity-framework ×1

spatial ×1

sql-server ×1