Converting DTOs to View Models
Posted
by illvm
on Stack Overflow
See other posts from Stack Overflow
or by illvm
Published on 2010-06-16T05:11:33Z
Indexed on
2010/06/16
5:22 UTC
Read the original article
Hit count: 230
Does anyone know of a good (read: quick to code) method for converting DTOs to View Models or mapping DTO members to View Model members? Lately I've been finding myself writing many conversion and helper methods but this is a very arduous and tedious task. Moreover, it will often needs to be done twice (DTO -> View Model, View Model -> DTO).
Is there a methodology, technique, or technology which would allow me to do this more quickly and efficiently?
© Stack Overflow or respective owner