I am using MVC 3 asp.net 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
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.