Top "Dto" questions

DTO is an acronym for Data Transfer Object, a design pattern used in data transfer.

LINQ to map a datatable into a list<MyObject>

I just discover LINQ so be comprehensive with me please! :-) So! I have a Data-tier who provide me datatables …

c# linq dto 3-tier
Where to convert a DTO to ViewModel?

I've inherited an MVC2 project using a pretty standard and decently well kept DDD pattern. I've been doing a lot …

asp.net-mvc domain-driven-design viewmodel dto separation-of-concerns
What is the difference between DAL, DTO and DAO in a 3 tier architecture style including with MVC

Recently I was learning about ORM (Object Relational Mapping) and the 3 tier architecture style (presentation,business and data persistence). If …

model-view-controller orm dao data-access-layer dto
DTO conveter pattern in Spring Boot

The main question is how to convert DTOs to entities and entities to Dtos without breaking SOLID principles. For example …

java spring-boot design-patterns entity dto
How do you map a Dto to an existing object instance with nested objects using AutoMapper?

I have the following Dto and entity with a nested sub entity. public class Dto { public string Property { get; set; } …

c# .net nested automapper dto
Mapstruct - Send nested entity having (one-to-many relation) in the response

I have 2 entities CallRecords and CallRecordOperators with one-to-many relation as given below public class CallRecords { @Id @Column(name = "id", unique = …

java hibernate one-to-many dto mapstruct
Reusing DTO for various request/response types vs explicitness of what is required / what should be returned

I started wondering on whether I am not falling into an antipattern here, so please advise on the best practices. …

rest asp.net-web-api architecture dto
Best Practice - Multi Layer Architecture and DTOs

After reading some of the Q/As here on stackoverflow, I am still confused about the correct implementation of DTOs …

java jpa dto multi-tier
Symfony2 DTO, Entity conversion

I'm creating symfony2 application with doctrine2 and I would like to ask for advice regarding common/good practice for DTO-Entity, …

php symfony architecture doctrine-orm dto
JPA Entities and/vs DTOs

What is the general idea to help deciding when to use DTO and when to use Entity in these cases ? …

jsf architecture jpa dto