开发者

Caliburn.Micro and ORMs (NHibernate)

Are there any information around the net about using Caliburn.Micro with an ORM such as NHibernate, preferably under WPF.

What I'm after is information about session handling and unit of work pattern. Which ever route I go down I seem to paint myself into a corner.

The problems often arise when it comes to multi window applications, and the same type of window/view r开发者_如何学Cunning side by side with separate instances of the same type of view model.


There is no drawbacks in using any ORM with Caliburn since they are two strategy working to solve different problems. And as a personal consideration are both great.


Here is a WPF example that uses Caliburn (not micro), Nhibernate, and Windsor. Not exactly the same situation but it might give a clue as to how session management is being handled.

http://code.google.com/p/unhaddins/source/browse/Examples/uNHAddIns.Examples.WPF/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜