Question

I'm looking for patterns and principles for using with WPF and NHibernate in model-view-controller style.

Was it helpful?

Solution

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

OTHER TIPS

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...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top