(X) Hide this Upcoming webinar on Feb 23rd, 10 am PST (see your local time): Building Line-of-business Applications with Silverlight & WCF Data Services
More webinar info | Register | Other webinars
Tweet @silverlightshow and win a SilverlightShow Tweet-shirt. Learn how >>
Skip Navigation LinksHome / News / View News

Unit of Work in Rich Clients

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 17, 2011
(0 votes)
Tags: WPF , Paul Stovell

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) resources on TwitterIn this post, Paul Stovell is categorizing the different ways unit of work might be managed in WPF applications.

Source: Paul Stovell's Blog

When it comes to dealing with databases, smart .NET developers follow the unit of work pattern. In NHibernate, the unit of work is an ISession. In LINQ to SQL and Entity Framework, it's the DataContext/DbContext.

When implementing a unit of work, or in fact any object, lifetime matters. When is the unit of work created? When does it end?

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 1 and 8 and type the answer here: