public bool Delete() { try { objclsSEGMENT_CONTACT = new Segment_contact(); objclsSEGMENT_CONTACT.SEGMENTID = SEGMENTID; if(objclsSEGMENT_CONTACT.Delete()) { return true; } return false; } catch(Exception ex) { throw new Exception(ex.Message); } }
public bool Insert() { try { objclsSEGMENT_CONTACT = new Segment_contact(); objclsSEGMENT_CONTACT.CONTACTID = CONTACTID; objclsSEGMENT_CONTACT.SUBSCRIBES = SUBSCRIBES; if(objclsSEGMENT_CONTACT.Insert()) { return true; } return false; } catch(Exception ex) { throw new Exception(ex.Message); } }
public DataTable Select() { DataTable dt; try { objclsSEGMENT_CONTACT = new Segment_contact(); objclsSEGMENT_CONTACT.SEGMENTID = SEGMENTID; dt = objclsSEGMENT_CONTACT.Select(); return dt; } catch(Exception ex) { throw new Exception(ex.Message); } }