public void LoadData() { IsBusy = true; systemManageDomainContext = new SystemManageDomainContext(); systemManageDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; systemManageDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; ProductPartTypeEntityList.Clear(); selectProductPartTypeEntity = null; LoadOperation<ProductManager.Web.Model.product_part_type> loadOperationProductPartType = systemManageDomainContext.Load<ProductManager.Web.Model.product_part_type>(systemManageDomainContext.GetProduct_part_typeQuery()); loadOperationProductPartType.Completed += loadOperationFileType_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; }