NHibernate – How to use

An example, how to use Nhibernate :
  1. Add code below to your web.config file 
  2. Create session manager class as below 
  3. Call them with this code 
  4. And use them as needed, to save or delete 
Please also note below :
  • Language : C# on ASP.Net 
  • Database  : MySQL 
  • Library needed : Nhibernate, Castle Windsor, WindsorAdapter

May it helps, Thanks

No comments:

Post a Comment