Implementing a generic repository for WCF data services
Posted by: Pablo M. Cibraro (aka Cibrax),
on 31 May 2010 |
View original | Bookmarked: 0 time(s)
The repository implementation I am going to discuss here is not exactly what someone would call repository in terms of DDD, but it is an abstraction layer that becomes handy at the moment of unit testing the code around this repository. In other words, you can easily create a mock to replace the real repository implementation.
The WCF Data Services update for .NET 3.5 introduced a nice feature to support two way data bindings, which is very helpful for developing WPF or Silverlight based application...