I know that there are already a couple of answers about this but I just don't want to start on the wrong foot. My POCOs have inheritance and interfaces to work in my Repository which I think is the standard way to use the repository pattern right? So from what I read, I should have my POCOs duplicated into DTOs in order to use them in my Service? Really?
Is that what they say when they talk about the overhead of using DTOs?
I realize that the "Simple Customer Database REST Services Example" is well...simple but still, it sends back the POCO. If the customer would have a lot of properties and you would want to create it, is the CreateCustomer DTO would have to have the same properties as the customer POCO? And when you would respond to GetCustomer, you could not return the POCO if it would have interface/inheritance.
Maybe I just don't get it...seems a lot of work.