How much to put in a Repository class?

Posted by chobo on Stack Overflow See other posts from Stack Overflow or by chobo
Published on 2010-05-05T21:34:09Z Indexed on 2010/05/05 21:38 UTC
Read the original article Hit count: 246

When using the repository pattern is it recommended to have one Repository class for each database table? Would I also map one service layer class to one repository class. I'm having a hard time trying to understand how much stuff one repository or service layer class should have.

Thanks!

© Stack Overflow or respective owner

Related posts about repository-pattern

Related posts about design-patterns