-
In this post I’ll describe a mechanism to manage nhibernate session following the widely known patter “session-per-request”. Introduction The session-per-request pattern is very well defined and widely used; as follows A single Session and a single database transaction implement the processing of a particular...
-
Part I: Introducing NHiberate and WPF: The ChinookMediaManager Part II: Nhibernate and WPF: The core Part III: Nhibernate and WPF: Models concept In this post I will introduce some concepts about the presentation layer of the Chinook Media Manager example. Prerequisites If you are new to the MVVM pattern...
-
Part I: Introducing Nhibernate and WPF Part II: Chinook Media Manager: The Core Introduction For this post I will use the concept of Fabio Maulo called “Conversation-per-BussinesTransaction”. If you have not read, what are you waiting for? Definition This definition is extracted from Fabio’s post and...
-
Part I: Introducing NHiberate and WPF: The ChinookMediaManager Introduction This is my second post about the Chinook Media Manager, an example application for NHibernate and WPF. In this post I will outline some concepts behind the architecture that I’ve chosen. Note Probably at some points you will...
-
As you can note in my previous posts I’ve talked a lot about NHibernate and WPF. So I've decided to write an ongoing series of blog posts about the integration of these two technologies. Motivation The motivation behind this series of posts is very simple most of the articles that you can read about...
-
In the first post I showed how to configure the uNHAddins conversation. Now I will show how to use the PersistenceConversation aspects to manage a uNHAddins conversation. A class which will rule a conversation should be marked as [PersistenceConversational] every public method that is part of a conversation...
-
This post was previously published in my blog here uNHAddins Conversation and motivations where widely presented on Fabio’s blog here . The focus of this series of posts is configuring the Persistence Conversation aspect using uNHAddins and CastleAdapter targeting a Windows Forms Application (some...
-
How many times you heard us saying “don’t use identity POID generator!” ? To understand it better you must move your mind to an application, or a use-case , where the pattern open-session-in-view (aka session-per-request) is not applicable. The Unit of Work The Unit of Work (UoW) is...