0

I've been trying to understand thease two for past 2 days I know that DTO is something like this

public class LineItem
{
    public Int32 SalesOrderID { get; set; }
    public Int32 SalesOrderDetailID { get; set; }
    public String CarrierTrackingNumber { get; set; }
    public Int16 OrderQty { get; set; }
    public Int32 ProductID { get; set; }
    public Int32 SpecialOfferID { get; set; 
}

But I have no idea about POCO,and I saw some Example, they use DTO and POCO really look like each other. How we should write a poco? can it be a normal CRUAD class?

Hamid Pourjam
  • 20,441
  • 9
  • 58
  • 74
Mostafa Bouzari
  • 9,207
  • 3
  • 16
  • 26

0 Answers0