How should I structure my repository classes?

Posted by Innogetics on Stack Overflow See other posts from Stack Overflow or by Innogetics
Published on 2010-05-24T08:34:23Z Indexed on 2010/05/24 8:41 UTC
Read the original article Hit count: 212

Filed under:
|

I am new to DDD. In my mini-project, I have a structure that looks like this (different from the actual names):

  • EntryClassificationGroup
  • EntryClassification
  • Entry
  • EntryType

Should I have just one repository class for all these 4 entities, since they are all related? Or should I have individual repositories for each one?

© Stack Overflow or respective owner

Related posts about ddd

Related posts about repository-pattern