开发者

Fluent NHibernate: What is AutoImport?

开发者 https://www.devze.com 2023-04-01 20:49 出处:网络
What does the AutoImport convention in Fluen NHibernate do (with options Always or Never)? I am having开发者_StackOverflow中文版 a really hard time with the documentation for Fluent NHibernate.For ex

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

I am having开发者_StackOverflow中文版 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号