For every one he currently reading this book (the best book in design patterns field)
In last five chapters there is an complete APP, the author used NHibernate as ORM to contact the classes objects with database tables but he used the hard code option when he typed nhm.xml file to make mapper between classes and database
In this link
https://github.com/jagregory/fluent-...etting-started you can find easy way to make this mapper rather than writing xml file
Thanks[my English language not very good..I'm sorry for that..!!]
Mohammed Ahmed