Data Transfer Object (DTO)

Description Article

What is it

The DTO acronym technically refers to “Data Transfer Object” and represents a class without methods and only properties acessors.

Data Transfer objects has no behavior and logic embebbed.

When to use it

The DTO object stores only data working as a data container used to move data between layers (e.g. Data Acess layer and Business Logic layer or Presentation layer) with in a n-tier architecture application.

This type of container object is built explicitly from the current POCO class state.