lkmadushan
4 years ago
129
10
General

Repositories in DDD

Posted 4 years ago by lkmadushan

In DDD the explanation of the repository is ,

(https://en.wikipedia.org/wiki/Domain-driven_design) Repository: Methods for retrieving domain objects should delegate to a specialized Repository object such that alternative storage implementations may be easily interchanged.

In this situation where is the right place to put the save method. If the save method doesn't belongs to repository.

Please sign in or create an account to participate in this conversation.