I will try to explain in a very simplest method to understand repository pattern.
What is Repository Pattern?I have seen so many ways to write repository pattern. I have read Rob Conery's blog also.But, according to my experience, the repository pattern is the one constructing criteria by client code and passing it to repository.A repository is nothing but a mediator between data access layer and business layer.I will try to explain in a very simplest method to understand repository pattern.Step 1:Create VS 2010 project and name it RepPattern.I have created here a Silverlight application. Because I really like to work with Silverlight.In this application, I have added two folders.
Exploring Design Pattern for Dummies