Relations between layers
If I understand your design well, the business layer does not know (= does not use) the data layer, and the facade actually connects them, converting the DAO to DTO and vice versa.
: , ( DAO DTO), Inversion-of-Control - . , -. , , , -.
- , IoC, , .
DTO
, DTO . DTO (1) (2) . DTO (1) (2) . , , back-end DTO, .
, back-end DTO , DTO, DTO. , , back-end, .
API Get/Update, :
CustomerDTO GetCustomer(int customerID);
CustomerDTO UpdateCustomerAddress(int customerID, AddressDTO address);
CustomerDTO UpdateCustomerPrimaryContact(int customerID, PersonDTO primaryContact);
DTO, , ( ). DTO , , . , , , , .
- : , AutoMapper (#), DTO DAO. , , , . , , DTO.
: , , .