Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i find a Fluent NHibernate Tutorial?

I have googled and looked around does anyone know of any hidden gems out there that is not in first couple pages of a google search....

like image 450
Shane Scott Avatar asked Feb 27 '09 19:02

Shane Scott


People also ask

What is the difference between NHibernate and fluent NHibernate?

Fluent NHibernate offers an alternative to NHibernate's standard XML mapping files. Rather than writing XML documents, you write mappings in strongly typed C# code. This allows for easy refactoring, improved readability and more concise code.

What is NHibernate mapping?

nhibernate Mappings Xml Mappings It is a syntax xml file which contains the metadata required for the object/relational mapping. The metadata includes declaration of persistent classes and the mapping of properties (to columns and foreign key relationships to other entities) to database tables.


2 Answers

The wiki is your best bet. I've had a few Fluent NHibernate posts on my blog, but most of that content is mirrored on the wiki anyway.

like image 73
James Gregory Avatar answered Oct 22 '22 05:10

James Gregory


I appreciate this tutorial, perhaps can help you:

http://nhforge.org/blogs/nhibernate/archive/2008/09/17/value-objects.aspx

The author explain the concept of value object, using them like components.

like image 37
Custodio Avatar answered Oct 22 '22 04:10

Custodio