I'm looking for patterns and principles for using with WPF and NHibernate in model-view-controller style.
MVC patterns with WPF + NHibernate + IoC
1k Views Asked by Fitzchak Yitzchaki At
2
There are 2 best solutions below
0

Have a look at Paul Stovell's Magellan MVC container - I don't think it tries to be an ORM, so you'd need to hook NHibernate up, yourself...
Here's a pretty good sample application plus write-up for using WPF and NHibernate together. The article is sufficiently long without also delving into MVC & IOC. It covers the hardest bit, which is managing NHibernate sessions in long lived contexts.
Building a Desktop To-Do Application with NHibernate