Why use DTOs (Data Transfer Objects)?

added by DotNetKicks
5/13/2020 11:19:24 PM

283 Views

Should you really use DTOs (Data Transfer Objects)? Seem like a lot of work mapping your database entities to another object? Why Bother? The simple answer is coupling. First, what are DTOs? When people refer to Data Transfer Objects, what they mean are objects that represent data structures that generally do not contain any business logic or behavior.


0 comments