public void LoadData() { IsBusy = true; ProductDomainContext = new ProductDomainContext(); SystemManageDomainContext = new SystemManageDomainContext(); selectProjectEntity = null; ProjectFilesEntityList.Clear(); LoadOperation<ProductManager.Web.Model.department> loadOperationDepartment = SystemManageDomainContext.Load<ProductManager.Web.Model.department>(SystemManageDomainContext.GetDepartmentQuery()); loadOperationDepartment.Completed += loadOperationDepartment_Completed; }
public void LoadData() { systemManageDomainContext = new SystemManageDomainContext(); SelectDepartmentEntity = null; IsBusy = true; LoadOperation<ProductManager.Web.Model.department> loadOperationDepartment = systemManageDomainContext.Load<ProductManager.Web.Model.department>(systemManageDomainContext.GetDepartmentQuery()); loadOperationDepartment.Completed += loadOperationDepartment_Completed; }
public void LoadData() { IsBusy = true; systemManageDomainContext = new SystemManageDomainContext(); systemManageDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; systemManageDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; LoadOperation<ProductManager.Web.Model.department> loadOperationDepartment = systemManageDomainContext.Load<ProductManager.Web.Model.department>(systemManageDomainContext.GetDepartmentQuery()); loadOperationDepartment.Completed += loadOperationDepartment_Completed; }
public void LoadData() { IsBusy = true; SystemManageDomainContext = new SystemManageDomainContext();//.RejectChanges(); ProductDomainContext = new ProductDomainContext();//.RejectChanges(); ProductDomainContextForFile = new ProductDomainContext();//.RejectChanges(); ProductDomainContext.PropertyChanged -= ProductDomainContext_PropertyChanged; ProductDomainContext.PropertyChanged += ProductDomainContext_PropertyChanged; selectProjectEntity = null; projectView = null; productView = null; projectResponsibleView = null; ProductEntityList.Clear(); ProjectResponsibleEntityList.Clear(); LoadOperation<ProductManager.Web.Model.department> loadOperationDepartment = SystemManageDomainContext.Load<ProductManager.Web.Model.department>(SystemManageDomainContext.GetDepartmentQuery()); loadOperationDepartment.Completed += loadOperationDepartment_Completed; }