public DCBatchPipeline GetBatchPipelineData(DCBatchPipeline dcvdr) { try { dcvdr.DataTable = m_biz.GetBatchPipeline(dcvdr.PageNumber, dcvdr.NumOfRows, dcvdr.SortField, dcvdr.SearchData); dcvdr.Count = m_biz.Rowcount; } catch (Exception exp) { throw exp; } finally { } return(dcvdr); }
public static DataTable GetBatchPipelineData(int PageNumber, int NumOfRows, string SortField, string Search) { DCBatchPipeline oDet = new DCBatchPipeline(); oDet.PageNumber = PageNumber / NumOfRows; oDet.NumOfRows = NumOfRows; oDet.SortField = SortField; oDet.SearchData = Search; GMFacade.Entity.BatchPipeline m_bf = new GMFacade.Entity.BatchPipeline(); oDet = m_bf.GetBatchPipelineData(oDet); batchCount = oDet.Count; m_bf.Dispose(); return(oDet.DataTable); }
public DCBatchPipeline Get(DCBatchPipeline dcvdr) { CompanyBiz m_CompanyBiz = new CompanyBiz(); UserBiz m_UserBiz = new UserBiz(); try { dcvdr.DSCompanyID = m_CompanyBiz.Get(); dcvdr.DSUserID = m_UserBiz.Get(); AddDefaultOption(dcvdr.DSCompanyID); AddDefaultOption(dcvdr.DSUserID); } catch (Exception exp) { throw exp; } finally { m_CompanyBiz.Dispose(); } return(dcvdr); }
public DCBatchPipeline Get(DCBatchPipeline dcvdr) { m_bf.Get(dcvdr); GetHeaderToken(dcvdr); return(dcvdr); }