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 -~----------~----~----~----~------~----~------~--~---
