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