public void LoadData() { OnLineUserList.Clear(); systemManageDomainContext = new SystemManageDomainContext(); LoadOperation<ProductManager.Web.Model.user> loadOnLineUser = systemManageDomainContext.Load<ProductManager.Web.Model.user>(systemManageDomainContext.GetLogonUserQuery()); loadOnLineUser.Completed += loadOperationloadOnLineUser_Completed; }
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() { 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(); systemManageDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; systemManageDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; ProductTypeEntityList.Clear(); LoadOperation<ProductManager.Web.Model.product_type> loadOperationDepartment = systemManageDomainContext.Load<ProductManager.Web.Model.product_type>(systemManageDomainContext.GetProduct_typeQuery()); loadOperationDepartment.Completed += loadOperationProductType_Completed; }
public void LoadData() { IsBusy = true; systemManageDomainContext = new SystemManageDomainContext(); systemManageDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; systemManageDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; RootActionAndRoleActionEntity.ChildList.Clear(); ActionAndRoleAnctionEntityDictionary.Clear(); RoleEntityList.Clear(); ActionEntityList.Clear(); LoadOperation<ProductManager.Web.Model.action> loadOperationAction = systemManageDomainContext.Load<ProductManager.Web.Model.action>(systemManageDomainContext.GetActionQuery()); loadOperationAction.Completed += LoadOperation_ActionCompleted; }
public void LoadData() { IsBusy = true; ProductDomainContext = new ProductDomainContext(); SystemManageDomainContext = new SystemManageDomainContext(); LoadOperation<ProductManager.Web.Model.user> loadOperationUser = SystemManageDomainContext.Load<ProductManager.Web.Model.user>(SystemManageDomainContext.GetUserQuery()); loadOperationUser.Completed += loadOperationUser_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();//.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; }
private void LoadData() { IsBusy = true; ProductDomainContext = new ProductDomainContext(); SystemManageDomainContext = new SystemManageDomainContext(); LoadOperation<ProductManager.Web.Model.product_part_type> loadOperationProductPartType = SystemManageDomainContext.Load<ProductManager.Web.Model.product_part_type>(SystemManageDomainContext.GetProduct_part_typeQuery()); loadOperationProductPartType.Completed += loadOperationProductPartType_Completed; }