Plain Old CLR Object vs Data Transfer Object

后端 未结 10 1435
挽巷
挽巷 2020-11-22 13:38

POCO = Plain Old CLR (or better: Class) Object

DTO = Data Transfer Object

In this post there is a difference, but frankly most of the blogs I read describe P

10条回答
  •  北海茫月
    2020-11-22 14:05

    I wrote an article for that topic: DTO vs Value Object vs POCO.

    In short:

    • DTO != Value Object
    • DTO ⊂ POCO
    • Value Object ⊂ POCO

提交回复
热议问题