Thanks for the answer. Perhaps I didn't exaplain well. In the example of person with address and cars. Yes, I have one aggregate and I have my Person repository for that, and this repository can interact with the needed tables in the database (person, address and car). When I told unit of work, I didn't mean about coordinate the update of many tables related with the same aggregate, but I mean coordinate the modification of various aggregates at the same time.
↧