I won't go that path, having a repository which commits...what if you want to commit a transaction across some aggregates?
There are some other things to improve there...i don't mean it won't work, but using one of the frameworks that a lot of people is already using may be a better approach for the future. I will go for uNHAddins but i'm a bit opinionated with it. I used with success in the past Castle NHibernate Integration and Rhino Tools, and they all do the work... Gustavo. On Wed, Dec 16, 2009 at 6:58 PM, Broken Pipe <[email protected]>wrote: > Thanx guys for links, i read\scrolled all of them + some child links + > i read\scrolled chapters 8-11 from book "NHibernate In Action", > though i didn't understood some stuff, now i know what options i have. > Also i found this interesting post: > http://daniel.wertheim.se/2009/11/04/nhibernate-repository-pattern/ > > I' ll try to implement different approaches (Repository, Dao) with > (Ses-per-Conversation, ses-per-Presenter, and some hybrid variants). > I'm going to start from the concept in the link above it's very > similar to what i have now, and any way i was going to rewrite my > IRepository to use Linq expressions instead of ICriteria (though i > havn't tried Nh.Linq yet). > > -- > > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
