Exemple #1
0
 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);
 }
Exemple #2
0
        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);
        }
Exemple #3
0
        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);
        }
Exemple #4
0
 public DCBatchPipeline Get(DCBatchPipeline dcvdr)
 {
     m_bf.Get(dcvdr);
     GetHeaderToken(dcvdr);
     return(dcvdr);
 }