资 源 简 介
A more up-to-date version of this code is available on github in the NhCodeFirst project at https://github.com/mcintyre321/NhCodeFirst/ - it is also on Nuget, and will get you started in moments
~~This is an example project showing the approach to NHibernate configuration laid out in the blog series from www.adverseconditionals.com.~~
~~The projects aims are similar to those of Fluent NHibernate - namely to provide compile time checked, refactor-tolerant NHibernate configuration instead of brittle xml configuration.~~
~~FNH provides a custom configuration DSL and extension points, hiding away some of the NH syntax and doing some of the reflection and setting up of conventions for you. This project differs in that you have do do some of this stuff yourself, but the API is closer to the standard NH XML configuration so, at least to my mind, is easier to grok.~~
<