NHibernate 2 + Fluent Nhibernate medium trust

前端 未结 1 452
南旧
南旧 2021-01-14 14:49

Will NHibernate 2 and\\or Fluent Nhibernate work in a medium trust environment. If not are there any work-arounds?

相关标签:
1条回答
  • 2021-01-14 15:28

    Not sure about fluent NH - I assume it should - it just translates to XML.

    With NH itself you will loose bytecode optimization, all your setters/constructors will need to be public. If you need to use lazy loading you will have to have your proxies generated with build (NH proxy generator).

    Should you have some permissions enabled in your medium trust settings you can relax some of the restrictions.

    0 讨论(0)
提交回复
热议问题