3

What does the AutoImport convention in Fluen NHibernate do (with options Always or Never)?

I am having a really hard time with the documentation for Fluent NHibernate. For example, there seem to a whole bunch of Convention Shortcuts, as described on the conventions help page. However, I can not find a list of all of them, with their descriptions.

How does everyone else know which to use? Surely they are not all reading through the source to work it out?! Is there a NHibernate web page I should be looking at?

Thanks for any help

James
  • 7,877
  • 7
  • 42
  • 57

1 Answers1

4

If the AutoImport is set to Never it makes you declare classes by using there whole name with namespace and if set to always you dont need the namespace. Its mentioned in this link below more extensive.

Fluent NHibernate DuplicateMappingException with AutoMapping

Community
  • 1
  • 1
Mattias Josefsson
  • 1,147
  • 1
  • 7
  • 22