This project is read-only.

Nerd dinner Repository pattern versus the repository used in , The Contoso University sample web application.

Jul 29, 2011 at 10:19 AM

I am using MVC 3 web application with entity framework , and i have also created a repository class to encapsulate all my business logic in the same way the repository class was implemented in the nerd dinner example MVC 2.

But lately i read a the “The Contoso University sample web application.” Example Which is available on the following link:-

they used i think different way and syntax to implement the repository pattern.

So what are the major differences between these , and which apprahc is better to follow .

Thanks in advance for any help.

Best Regard