DDD - Does DAL access Domain Layer
问题 I see some samples referencing the Domain Layer from DAL. I see that the repository interfaces are defined in the Domain Layer and since the DAL implements them, they need to reference the Domain Layer. The DAL also needs to know the Entities to return so the reference upstream. I thought that we only reference "downstream", can someone explain? 回答1: Yes, that's OK. Think about it like this: If you are going to change (replace) any layer, what layer will it be? It's highly unlikely that you'd