コード例 #1
0
        public virtual SmsSendShortMessageEntity CloneTo(SmsSendShortMessageEntity thatObj)
        {
            if (thatObj == null)
            {
                throw new ArgumentNullException("thatObj");
            }

            thatObj.ID            = this.ID;
            thatObj.CATEGORY      = this.CATEGORY;
            thatObj.STATUS        = this.STATUS;
            thatObj.PHONE         = this.PHONE;
            thatObj.CONTENT       = this.CONTENT;
            thatObj.SENT_AT       = this.SENT_AT;
            thatObj.RESULT        = this.RESULT;
            thatObj.CONTACT       = this.CONTACT;
            thatObj.MODEM_ID      = this.MODEM_ID;
            thatObj.SENT_COUNT    = this.SENT_COUNT;
            thatObj.PLATE_NUMBER  = this.PLATE_NUMBER;
            thatObj.PLATE_COLOR   = this.PLATE_COLOR;
            thatObj.PECCANCY_TYPE = this.PECCANCY_TYPE;
            thatObj.TERMINAL_CODE = this.TERMINAL_CODE;
            thatObj.EVENT_CODE    = this.EVENT_CODE;
            thatObj.FILE_PATH     = this.FILE_PATH;
            thatObj.REQUEST_AT    = this.REQUEST_AT;
            thatObj.CREATED_AT    = this.CREATED_AT;
            thatObj.REMARK        = this.REMARK;
            thatObj.IMG_INFO      = this.IMG_INFO;
            thatObj.ENTITY_ID     = this.ENTITY_ID;
            thatObj.SMS_COUNT     = this.SMS_COUNT;
            thatObj.SURPLUS_COUNT = this.SURPLUS_COUNT;
            thatObj.SEND_STATE    = this.SEND_STATE;
            thatObj.CREATED_BY    = this.CREATED_BY;

            return(thatObj);
        }
コード例 #2
0
        public virtual SmsSendShortMessageEntity Clone()
        {
            var thatObj = new SmsSendShortMessageEntity();

            return(this.CloneTo(thatObj));
        }