public void LoadData() { IsBusy = true; LoadOperation <DocumentManager.Web.Model.taxpayertype> loadOperationTaxPayerType = documentManagerContext.Load <DocumentManager.Web.Model.taxpayertype>(documentManagerContext.GetTaxpayertypeQuery()); loadOperationTaxPayerType.Completed += loadOperationTaxPayerType_Completed; }
private void LoadData() { IsBusy = true; LoadOperation <DocumentManager.Web.Model.filetype> loadOperationFileType = documentManagerContext.Load <DocumentManager.Web.Model.filetype>(documentManagerContext.GetFiletypeQuery()); loadOperationFileType.Completed += loadOperationFileType_Completed; }
public void LoadData() { IsBusy = true; LoadOperation <DocumentManager.Web.Model.standbook> loadOperationStandBookType = documentManagerContext.Load <DocumentManager.Web.Model.standbook>(documentManagerContext.GetStandBookQuery()); loadOperationStandBookType.Completed += loadOperationStandBook_Completed; }
private LoadOperation <DocumentManager.Web.Model.taxpayer> LoadTaxPayerEntities() { EntityQuery <DocumentManager.Web.Model.taxpayer> lQuery = documentManagerContext.GetTaxpayerQuery(); if (FilterContext != null) { lQuery = lQuery.Where(c => (c.taxpayer_group_id == GroupID) && (c.taxpayer_code.ToLower().Contains(FilterContext.ToLower()) || c.taxpayer_name.ToLower().Contains(FilterContext.ToLower()))); } else { lQuery = lQuery.Where(c => (c.taxpayer_group_id == GroupID)); } return(documentManagerContext.Load(lQuery.SortAndPageBy(this.taxPayerView))); }
private LoadOperation <Web.Model.filetype> loadFileTypeEntities() { IsBusy = true; EntityQuery <Web.Model.filetype> lQuery = documentManagerContext.GetFiletypeQuery(); return(documentManagerContext.Load(lQuery.SortAndPageBy(fileTypeView))); }
private LoadOperation <DocumentManager.Web.Model.user> LoadUserEntities() { this.IsBusy = true; EntityQuery <DocumentManager.Web.Model.user> lQuery = documentManagerContext.GetUserQuery(); return(documentManagerContext.Load(lQuery.SortAndPageBy(this.userView))); }
private LoadOperation <DocumentManager.Web.Model.taxpayertype> LoadTaxPayerTypeEntities() { this.IsBusy = true; EntityQuery <DocumentManager.Web.Model.taxpayertype> lQuery = documentManagerContext.GetTaxpayertypeQuery(); return(documentManagerContext.Load(lQuery.SortAndPageBy(this.taxPayerTypeView))); }
public void LoadData() { IsBusy = true; DocumentManagerDomainContext = new DocumentManager.Web.DocumentManagerDomainContext(); DocumentManagerDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; DocumentManagerDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; LoadOperation <DocumentManager.Web.Model.user> loadOperationUser = DocumentManagerDomainContext.Load <DocumentManager.Web.Model.user>(DocumentManagerDomainContext.GetUserQuery()); loadOperationUser.Completed += loadOperation_Completed; }
private LoadOperation <Web.Model.taxpayerdocument> LoadTaxPayerDocument() { BeginLoadings(null, null); EntityQuery <Web.Model.taxpayerdocument> lQuery = documentManagerContext.GetTaxpayerdocumentQuery(); if (taxPayerEntity != null) { lQuery = lQuery.Where(c => c.taxpayer_id == taxPayerEntity.TaxPayerId); } else { lQuery = lQuery.Where(c => c.taxpayer_id == -100); } return(documentManagerContext.Load(lQuery.SortAndPageBy(taxPayerDocumentView))); }
private LoadOperation <Web.Model.standbook> LoadStandBook() { BeginLoadings(null, null); EntityQuery <Web.Model.standbook> lQuery = documentManagerContext.GetStandBookQuery(); if (taxPayerEntity != null) { lQuery = lQuery.Where(c => c.projectname == taxPayerEntity.TaxPayerProject).OrderByDescending(c => c.paytime); } else if (innerStandBookEntity != null) { lQuery = lQuery.Where(c => c.projectname == innerStandBookEntity.ProjectName).OrderByDescending(c => c.paytime); } else { lQuery = lQuery.Where(c => c.projectname == "-1").OrderByDescending(c => c.paytime); } return(documentManagerContext.Load(lQuery.SortAndPageBy(standbookView))); }
public void LoadData() { IsBusy = true; DocumentManagerDomainContext = new DocumentManager.Web.DocumentManagerDomainContext(); DocumentManagerDomainContext.PropertyChanged -= systemManageDomainContext_PropertyChanged; DocumentManagerDomainContext.PropertyChanged += systemManageDomainContext_PropertyChanged; LoadOperation<DocumentManager.Web.Model.user> loadOperationUser = DocumentManagerDomainContext.Load<DocumentManager.Web.Model.user>(DocumentManagerDomainContext.GetUserQuery()); loadOperationUser.Completed += loadOperation_Completed; }
private LoadOperation <Web.Model.taxpayer> LoadTaxPayerEntities() { EntityQuery <DocumentManager.Web.Model.taxpayer> lQuery = documentManagerContext.GetTaxpayerQuery(); return(documentManagerContext.Load(lQuery.SortAndPageBy(this.taxPayerView))); }