Hello, Thanks for answer me, very good explanations from all of you. I am now clear about it... I will deep into fluent-nhibernate to know if it is good for me or not.
----- Original Message ----- From: James Gregory To: [email protected] Sent: Saturday, August 01, 2009 2:20 AM Subject: [nhusers] Re: Asking for Fluent NHibernate Fabio and Frederic nailed it. I can't really add much to what they said. You say "does fluent classes do everything you can do with xml?", which the answer is no, but I'm guessing that you're not going to be using most of what you can do with xml anyway. Fluent supports pretty much all the common mappings you can do with xml, but as Frederic said you can always use xml for the stuff it doesn't support. For more specific questions you might consider using the fluent nhibernate mailing list. On Sat, Aug 1, 2009 at 8:44 AM, Frederic <[email protected]> wrote: spiralni a écrit : > Hello pals, > > I am starting with Fluent for NHibernate, I have used ActiveRecord > with previous projects, but > to tell the truth I do not like to decorate my model with tags, > neither I like to write and maintain so many > xml files (as the project grows, it get harder) > > So my question is simple, > > Is NHFluent a serious alternative to abstract NHibernate? > > Which is the advantage of using xml over classes (or viceversa)? > > Does fluent classes do everything you can do with xml? > > Thanks > > > > > Yes. It is not an alternative, it is a different way of mapping the entities. The main advantage is that through fluent configuration you can use either class mapping, xml mapping and even auto mapping. From a project point of view, it is good because it is easier to make a team wirting mapping through poco than xml, and you can still get the equivalent xml files. However, if you really want to reduce the amount of work to produce the mapping, you will probably need to go deep inside nhfluent. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
