Reputation: 2183
Does anyone know where can I find an easy example of Linq2SQL wrapped in the repository pattern?
Upvotes: 2
Views: 1047
Reputation: 487
One more is AcroDB: http://oleksiy.pro/tag/acrodb/
The project is used on the first layer after Linq2SQL, and makes entities as abstract as interfaces, and at runtime on project start dynamic entities are generated.
Upvotes: 0
Reputation: 16013
Check this blog post : http://weblogs.asp.net/rashid/archive/2009/02/19/100-unit-testable-linq-to-sql-repository.aspx There is a zip linked to it with a working demo.
Upvotes: 0
Reputation: 9942
You can check out
http://multitierlinqtosql.codeplex.com/
http://goneale.com/2009/07/27/linq-to-sql-generic-repository/
Upvotes: 0
Reputation: 22323
see the link:
http://geekswithblogs.net/AndrewSiemer/archive/2008/02/05/linq-to-sql---implementing-the-repository-pattern.aspx
Upvotes: 1