There is no preferred method. It depends on your projects needs, on your team preferences, ...
Le vendredi 22 janvier 2021 à 20:59:42 UTC+1, [email protected] a écrit : > > There are two options for code based mapping for NHibernate that I'm aware > of. We can use the built in NHibernate.Mapping.ByCode or use > Fluent-Nhibernate. I had, for many years, used Fluent-Nhibernate, but that > project went unmaintained for a long period of time. So long, that I > assumed it was dead and started using NHibernate.Mapping.ByCode for new > projects. Recently, I noticed that Fluent-Nhibernate published a new > package and is also now part of the Nhibernate repository. > > I would love to know, especially from someone in the NHibernate team, > what's the current preferred method for code based mapping? Both methods > have advantages, but documentation on the built in mapping by code is > limited and spare. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nhusers/6e012bfb-d9f0-4f07-9590-4c78ee6f8b57n%40googlegroups.com.
