public static BOMailSummaryList GetAllList(int startIndex, int length, string whereClause)
 {
     BOMailSummaryList itemObjs = null;
       tblMailSummary tblObj = new tblMailSummary();
       DataTable dt = tblObj.GetAllData(startIndex, length, whereClause, null);
       if (dt.Rows.Count > 0)
       {
       itemObjs = new BOMailSummaryList();
       foreach(DataRow dr in dt.Rows)
       {
           itemObjs.Add(FillDataRecord(dr));
       }
       }
       return itemObjs;
 }
 public static BOMailSummaryList GetAllList()
 {
     BOMailSummaryList itemObjs = null;
       tblMailSummary tblObj = new tblMailSummary();
       DataTable dt = tblObj.GetAllData();
       if (dt.Rows.Count > 0)
       {
       itemObjs = new BOMailSummaryList();
       foreach(DataRow dr in dt.Rows)
       {
           itemObjs.Add(FillDataRecord(dr));
       }
       }
       return itemObjs;
 }
        public static BOMailSummaryList GetAllList(int startIndex, int length, string whereClause)
        {
            BOMailSummaryList itemObjs = null;
            tblMailSummary    tblObj   = new tblMailSummary();
            DataTable         dt       = tblObj.GetAllData(startIndex, length, whereClause, null);

            if (dt.Rows.Count > 0)
            {
                itemObjs = new BOMailSummaryList();
                foreach (DataRow dr in dt.Rows)
                {
                    itemObjs.Add(FillDataRecord(dr));
                }
            }
            return(itemObjs);
        }
        public static BOMailSummaryList GetAllList()
        {
            BOMailSummaryList itemObjs = null;
            tblMailSummary    tblObj   = new tblMailSummary();
            DataTable         dt       = tblObj.GetAllData();

            if (dt.Rows.Count > 0)
            {
                itemObjs = new BOMailSummaryList();
                foreach (DataRow dr in dt.Rows)
                {
                    itemObjs.Add(FillDataRecord(dr));
                }
            }
            return(itemObjs);
        }