简体   繁体   中英

Sql 2008 geometry type and fluent nhibernate

I have to use spatial index to search defined area on the map. I'm having difficulties with mapping sql geometry type using c# classes and fluent nhibernate. There are some posts about this topic but nothing that helped me. Can someone please explain me the procedure?

Could you elaborate the actual issue / post some code and what you were trying to do? You can map your properties using the NHibernate.Spatial.Type.GeometryType which is included in NHibernate.Spatial extension. And this similar question could help too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM