标签:data-access-layer
-
我应该将实体(持久性)对象转换为DTO对象吗? - c#
我的项目分层如下:DAL (Entity)-> BLL (DTO)-> ApplicationComponent (ViewModel)。应用程序(ApplicationComponent)将有多个组件,这些组件将访问BLL。组件包括Windows服务,Web服务,Web API和MVC控制器。我将NHibernate Entity对象转换为DT […]
我的项目分层如下:DAL (Entity)-> BLL (DTO)-> ApplicationComponent (ViewModel)。应用程序(ApplicationComponent)将有多个组件,这些组件将访问BLL。组件包括Windows服务,Web服务,Web API和MVC控制器。我将NHibernate Entity对象转换为DT […]