예제 #1
0
        public void SaveDto()
        {
            // Gather the DTO tree
            // Keep hooks in place so that I can
            // send back the DTO to it's "RIGHTFUL OWNER"

            var dto = new RootDto();

            dto.BusinessItemDtos = BusinessItemList.CreateDtos();

            DtoPortal.Update(dto);
        }
예제 #2
0
        public void Fetch(Guid criteria)
        {
            var rootDto = DtoPortal.Fetch(criteria);

            BusinessItemList = BusinessItemListPortal.Fetch(rootDto.BusinessItemDtos);
        }
예제 #3
0
        void IHandleObjectPortalFetch.Fetch()
        {
            var rootDto = DtoPortal.Fetch();

            BusinessItemList = BusinessItemListPortal.Fetch(rootDto.BusinessItemDtos);
        }