Beispiel #1
0
        public DataTable Select()
        {
            DataTable dt;
            try
            {
            objclsSENTEMAILS = new Sentemails();

            objclsSENTEMAILS.ID = ID;

            dt = objclsSENTEMAILS.Select();
            return dt;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
Beispiel #2
0
        public bool Update()
        {
            try
            {
            objclsSENTEMAILS = new Sentemails();

            objclsSENTEMAILS.ID = ID;
            objclsSENTEMAILS.AUTORESPONSEID = AUTORESPONSEID;
            objclsSENTEMAILS.MESSAGEID = MESSAGEID;
            objclsSENTEMAILS.CONTACTID = CONTACTID;
            objclsSENTEMAILS.OPEN = OPEN;
            objclsSENTEMAILS.CLICK = CLICK;
            objclsSENTEMAILS.BOUNCES = BOUNCES;
            objclsSENTEMAILS.NOINFO = NOINFO;
            objclsSENTEMAILS.UNSUBSCRIBES = UNSUBSCRIBES;
            objclsSENTEMAILS.COMPLAINS_ = COMPLAINS_;
            objclsSENTEMAILS.FORWARDS_ = FORWARDS_;
            objclsSENTEMAILS.STATUS = STATUS;
            objclsSENTEMAILS.DESC = DESC;
            objclsSENTEMAILS.DATESENT = DATESENT;

            if(objclsSENTEMAILS.Update())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }
Beispiel #3
0
        public bool Delete()
        {
            try
            {
            objclsSENTEMAILS = new Sentemails();

            objclsSENTEMAILS.ID = ID;

            if(objclsSENTEMAILS.Delete())
            {
                return true;
            }
            return false;
            }
            catch(Exception ex)
            {
            throw new Exception(ex.Message);
            }
        }