NHibernate Code-First is an abstraction layer on top of NHibernate core that allow you easily create data-centric application without writing any line of XML mapping files.

NHibernate Code-First is based on .NET Framework 4.

Highlights

No XML mapping files
Just write POCO entity classes without writing any line of XML mapping files

Mapping customization
You can customize mapping by using new fluent mapping method inside your context classes

Manage sessions internally for web and windows application
No need to manage sessions in your code, just write context classes, and allow framework do it for you.

Advance mapping
Fluent mapper allow you easily write advance mappings

Usage

Just reference NHCodeFirst.dll in your project and use it, nothing more...

Last edited Apr 18, 2011 at 10:46 AM by devhandler, version 3