【发布时间】:2014-03-20 09:36:42
【问题描述】:
为了在服务器中存储位置信息,我尝试在 SQL Server 2012 中创建一个包含 Geography 列的表。
我在应用程序中使用 Fluent NHibernate ORM。在我的业务对象中,我有一个 location 列的属性。
[数据成员] 公共虚拟 DbGeography 位置 { 获取;放; }
地图(x => x.Location) ???
如何将 DbGeography 类型属性映射到 SQL Server 2012 中的 Geography 列?
【问题讨论】:
标签: c# sql geolocation fluent-nhibernate