views:

44

answers:

2

i'm beginer of NHibernet. i search many web site for simple NHibernate program,that program have some error,,so need help for NHibernate setp by step processing.....please any one help me....

A: 

This question is not really specific, so it is hard to answer.

When starting with NHibernate, http://nhforge.org is probably the best place to start.

They have a beginner's tutorial, which I haven't tried out.

Marijn
A: 

I found this earlier today and wanted to share. It is a good example of how to design a desktop application for use with NHibernate. In my case, we do things slightly differently (we have the nhibernate code in a separate dll and our desktop exe only references this dll and never nhibernate) but that is just a slight modification

Building a Desktop To-Do Application with NHibernate - http://msdn.microsoft.com/en-us/magazine/ee819139.aspx

If you are using NHibernate with a web application, it is a bit easier. Just make sure that you use a new session for each request (which is probably the default way you would do it anyway).

i8abug