NHibernate.Spatial
This is a fork of the final commit to NHibernate.Spatial at Nhibernate Contrib site made in december 2011. The code has been updated to compile with the latest NTS, GeoAPI and NHibernate binaries.
Nuget Packages
NuGet packages are currently in pre-release, but stable releases for NHibernate 4.0 are expected soon (december 2014). The packages listed below are compatible with NHibernate 4.0.2 GA.
Nhibernate.Spatial for Microsoft SQL Server (Note! Assembly name has changed from MsSql2008 to MsSql)
Nhibernate.Spatial for PostGis
Getting Started
For configuring your application, please refer to Configuration and Mapping on the NHForge Wiki. Furthermore you can read about sample usage. For an updated in-depth look at NHibernate.Spatial, you can read this excellent blog post written by Pedro Sousa.
For general NHibernate help, the NHibernate community website - http://www.nhforge.org - has a range of resources to help you get started with basic NHibernate, including wikis, blogs and reference documentation.
All contributors are welcome. We need help improving the current dialects, getting tests to pass, identifying and fixing bugs, and keeping the project going. Presently the Oracle Spatial dialect is excluded from the solution. The Oracle Dialect has never been functional, but with some work it could be. Contributors who may be able to help out with this are especially welcome.