Best Practices For Mapping DTO to Domain Object?

前端 未结 11 1371
执念已碎
执念已碎 2020-11-28 19:43

I\'ve seen a lot of questions related to mapping DTOs to Domain Objects, but I didn\'t feel they answered my question. I\'ve used many methods before and have my own opinio

11条回答
  •  情书的邮戳
    2020-11-28 20:09

    You could use an automapper such as the one written by Jimmy Bogard which has no connection between the objects and relies on naming conventions being adhered to.

提交回复
热议问题