DTO = ViewModel?

前端 未结 8 573
别跟我提以往
别跟我提以往 2020-12-04 07:11

I\'m using NHibernate to persist my domain objects. To keep things simple I\'m using an ASP.NET MVC project as both my presentation layer, and my service layer.

I wa

8条回答
  •  我在风中等你
    2020-12-04 07:26

    If you will use DTO as ViewModel, that means you are making high dependency on DTO because of some reason you are changing DTO then it could impact on ViewModel.

    Better use DTO & convert into viewmodel.

提交回复
热议问题