Interview Questions Headline Animator

Wednesday, August 23, 2006

NHibernate...

I just read about NHibernate at 1.20 in the night... I couldn't really research it because it was too late in the night, I had already uninstalled the studio 2005 because its a 180 day trial version and my other CDs for Studio 2003 from my MVP days are in the closet in the other room... and I didn't really want to wake the whole house digging through the closet in the middle of the night...

And besides Even if i did find the cds i wouldn't be able to research it today considering the amount of time the installation would take... So I am going to research this subject one of these days... Thought you guys would also be interested... So here goes...

NHibernate is a .NET based object persistence library for relational databases.

NHibernate handles persisting your .NET objects to and from an underlying relational database. Rather than you having to write SQL to get your objects in and out of the database, NHibernate takes care of this for you. Your code only needs to be concerned with your objects, NHibernate generates the SQL and makes sure that things end up in the correct tables and columns.

Given an XML description of your entities and relationships, NHibernate automatically generates SQL for loading and storing the objects. Optionally, you can describe your mapping metadata with attributes in your source code.

NHibernate supports transparent persistence, your object classes don't have to follow a restrictive programming model. Persistent classes do not need to implement any interface or inherit from a special base class. This makes it possible to design the business logic using plain .NET (CLR) objects and object-oriented idiom.

For more details... refer: http://www.hibernate.org/

Regards,

 
Nilotpal Das
Consultant - Microsoft Technology Practice
_____________________________________________________________________________________________________________________________________________________________
Kanbay Inc., Cell Phone: +1-516-582-7746