コード例 #1
0
 private void RetrieveData()
 {
     using (IUnitOfWork uow = UnitOfWorkFactory.Instance.Start(DataStoreResolver.CRMDataStoreKey))
     {
         ActivityFacade facade   = new ActivityFacade(uow);
         ActivityDto    instance = facade.RetrieveOrNewActivity(InstanceId, new ActivityConverter());
         CurrentInstance         = instance;
         ucIEdit.CurrentInstance = instance;
     }
 }