How to make a Generic Repository?

Posted by chobo2 on Stack Overflow See other posts from Stack Overflow or by chobo2
Published on 2010-03-27T00:25:46Z Indexed on 2010/03/27 0:33 UTC
Read the original article Hit count: 288

Hi

I am wondering if anyone has any good tutorials(or maybe even a library that is already made and well documented) on making a generic repository.

I am using currently linq to sql but it might change so I don't know if you can make a generic repository that would take little to no changes if I would say switch to entity framework.

Thanks

© Stack Overflow or respective owner

Related posts about repository-pattern

Related posts about c#