Domain driven design repository4/1/2024 This way, in one of the application service methods, we call a domain service method (checking business rules) and if the condition is good, the repository is called on a special method to persist / retrieve the entity from the database. A scalar type can be considered any type thats unknown to the Domain Model. In domain driven design repository should be part of the ubiquitous language and should reflect business concepts. In Domain-Driven Design, there are typically three different types of Services youll encounter: Application Services: Operate on scalar types, transforming them into Domain types. The first way of manage services I've read is to inject a repository and a domain model in an application service. In domain driven design a repository is not just a data access object, which implements all CRUD and database queries needed for given entity type. I m studying DDD these days, and I m having some questions concerning how to manage repositories with DDD.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |