Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Can anyone suggest a good NHibernate tutorial for me? I have searched the CP articles for those in the last year, with ratings 3-5, and found nothing looking like what I want. I have found one good looking article, NHibernate Made Simple[^], but it's from 2007, and I suspect NHibernate has changed a hell of a lot since then.
Posted

1 solution

I always find it a good idea to take information straight from the horse's mouth - i.e. use the tutorial at the NHibernate[^] site and then refer to the various How-to articles on the same link.

Just because the article you found is out of date does not necessarily mean it is of no use to you ... the fundamentals haven't changed that much. I notice that people are still giving the article good reviews and 5-starts even up to October of this year (it's often a good guide to look at the dates of comments on articles, you can also get an idea if the author is still active on the site by their responses)
 
Share this answer
 
Comments
Brady Kelly 21-Dec-15 10:31am    
I have in fact followed that tutorial quite far, i.e. auto-creating a table, and persisting an object to that table, using a hand-rolled mapping file, but when I tried using the xml configuration, it could not load the named `DefaultProxyFactoryFactory` class. As soon as I switched to fluent config, I was skipping along that tutorial's happy little path again. I also find the reference documentation at the NHibernate site great reading as to what's what and how things work. Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900