How do I have to use Devexpress XPO in PRISM modular application?
I'm working on a开发者_如何学运维 project with 20+ Modules with the following Technics:
WPF 4.0 , PRISM 4 , Unity 2.0 , MVVM Light , and Devexpress XPO as and ORM
I have no idea how to plane to use a XPO Session in my modules?
I have faced the following items but don't know witch is the best?
- Using a global static Session property
- Use a global static connection string
- Use a global static IDataLayer
- use and Registered Interface in PRISM
- or maybe you can give me a idea?
精彩评论