Is it considered bad form to give a DTO a reference to the data access layer?
Or should you always pass a DTO between the data access layer and the application layer?
EDIT: For example, imagine the following:
A DTO should never have a reference to the data access layer.
Rather a DTo is a simple transfer object that contains only data and is used to pass information between layers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With