Generic Repository(codebetter.com)
submitted by
brandewinder(530) 3 years, 1 month ago
The purpose behind the repository pattern is to provide a layer of abstraction between your domain and data layer. For smaller projects, this typically isn't needed. However, larger projects can really benefit from a broker that specifically handles the back and forth between the two layers. With repositories your domain objects aren't burdened with infrastructure details and can therefore better focus on domain-specific behavior.
|category: Patterns
|Views: 1207
tags:
Patterns another
Everyones tags:
Your Tags: