In part 1 we found out how to generate a mapping file using c# and Linq To XSD. In this post we will extend that to show the use of conventions. The first thing we need an automapping framework to do is to create a class element in our xml mapping file for each of the entity types in our project. We...
This is part 1 in a blog series about yet another method for configuring your NHibernate mappings in code and writing conventions. Although there are mature solutions for doing this like Fluent NHibernate , I have found that they have required me to learn a new API and set of conventions, and sometimes...