Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

learning nhibernate (with or without fluent)

I am going to try using NHibernate, the reason I stayed away from NHibernate so far was the xml-mapping part. Now that (I found out) there is fluent nhibernate, looks like we don't need to do xml mapping.

But I am wondering if starting with some xml mapping, would be more helpful in learning and getting comfortable with NHibernate, or should I start using it with fluent for nhibernate?

cheers, hazim

like image 321
hazimdikenli Avatar asked Jan 12 '10 21:01

hazimdikenli


1 Answers

I had similar concerns when I started with nHibernate, but having taken the road of learning the mappings and then learning Fluent, I have to say I wish I had just started with Fluent.

My reasoning is that there was enough to digest just learning nHibernate and Fluent helps make nHibernate more simple. Having said that I agree with David M, you'll need to understand the mappings at some point.

This series was really useful when I was learning nHibernate.

HTH

like image 54
Chris Nicol Avatar answered Oct 12 '22 22:10

Chris Nicol