Top "Dto" questions

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

How to create a DTO in asp.net?

1) I want to know what is the recommended way to create & return a DTO for an object which has 10 …

c# asp.net asp.net-2.0 dto
Getting a Page of DTO objects from Spring Data repository

I'm trying to use DTOs in a Spring project to decouple business and presentation but I'm having problems while retrieving …

spring spring-data dto
Mapping List<String> from List<Object> using mapstruct

Hi I am getting null for List action in DTO while setting it from the Child Source class using mapstruct. …

java dto mapstruct
Mapping Validation Attributes From Domain Entity to DTO

I have a standard Domain Layer entity: public class Product { public int Id { get; set; } public string Name { get; set; } …

asp.net-mvc validation domain-driven-design viewmodel dto
What is the best way to mock DTOs in Java?

When writing unit tests I need some objects with sample data. For example suppose I have an Order object. One …

java unit-testing mocking dto
How to quickly check if two data transfer objects have equal properties in C#?

I have these data transfer objects: public class Report { public int Id { get; set; } public int ProjectId { get; set; } //and …

c# equals dto
How to map POJO in to DTO, if fields are with different name

Problem description: I have a POJO object, which is mapped from database. Which having attributes(column) with same name as …

java mapping dto pojo apache-commons-beanutils
To use or not to use Data transfer objects(DTO) in a Web Api Chat Application Backend Server

I have a chat application backend built using Web Api where I am exposing several database entities directly to clients. …

asp.net asp.net-web-api chat dto
BO <=> DTO mapper in Java

I am currently in my application maping DTOs to BO (and vice versa) manually. However, this approach is awkward and …

java reflection dto mapper
prefixing DTO / POCOS - naming conventions?

simple question really, i was wanting to know what naming conventions anybody puts on there DTO / POCOS .... I didn't really …

c# naming-conventions poco dto