-1

Anybody can explain about the difference between the POCO and DTO objects in c# with example and also go through the below link in the below link having four types to transfer data from one layer to another layer i cant under the link explanations

Four ways of passing data between layers[^]

What I have tried:

please help me out from the confusion

tech5group
  • 13
  • 3

1 Answers1

1

learn to love the POCO, and make sure you don’t spread any misinformation about it being the same thing as a DTO. DTOs are simple data containers used for moving data between the layers of an application. POCOs are full-fledged business objects with the one requirement that they are Persistence Ignorant (no get or save methods) BTW, Patrick, I read the POCO as a Lifestyle article, and I completely agree, that is a fantastic article.

YOu can check more details form here http://rlacovara.blogspot.com/2009/03/what-is-difference-between-dto-and-poco.html

A.M. Patel
  • 334
  • 2
  • 9