public T Copy <T>() where T : class, IModel, new()
        {
            T         obj     = new T();
            AutoSetup objdata = obj as AutoSetup;

            objdata.RecNo        = this.RecNo;
            objdata.EntryTag     = this.EntryTag;
            objdata.ReportName   = this.ReportName;
            objdata.MailTime     = this.MailTime;
            objdata.MailToID     = this.MailToID;
            objdata.MailCCID     = this.MailCCID;
            objdata.MailBCCID    = this.MailBCCID;
            objdata.SName        = this.SName;
            objdata.Phone1       = this.Phone1;
            objdata.CUser        = this.CUser;
            objdata.CDateTime    = this.CDateTime;
            objdata.EUser        = this.EUser;
            objdata.EDateTime    = this.EDateTime;
            objdata.CreatedBy    = this.CreatedBy;
            objdata.CreatedDate  = this.CreatedDate;
            objdata.UpdateddBy   = this.UpdateddBy;
            objdata.UpdatedDate  = this.UpdatedDate;
            objdata.UpdatedCount = this.UpdatedCount;
            objdata.LUT          = this.LUT;
            return(obj);
        }
        public void Clone <T>(T obj) where T : class, IModel
        {
            AutoSetup objdata = obj as AutoSetup;

            this.RecNo        = objdata.RecNo;
            this.EntryTag     = objdata.EntryTag;
            this.ReportName   = objdata.ReportName;
            this.MailTime     = objdata.MailTime;
            this.MailToID     = objdata.MailToID;
            this.MailCCID     = objdata.MailCCID;
            this.MailBCCID    = objdata.MailBCCID;
            this.SName        = objdata.SName;
            this.Phone1       = objdata.Phone1;
            this.CUser        = objdata.CUser;
            this.CDateTime    = objdata.CDateTime;
            this.EUser        = objdata.EUser;
            this.EDateTime    = objdata.EDateTime;
            this.CreatedBy    = objdata.CreatedBy;
            this.CreatedDate  = objdata.CreatedDate;
            this.UpdateddBy   = objdata.UpdateddBy;
            this.UpdatedDate  = objdata.UpdatedDate;
            this.UpdatedCount = objdata.UpdatedCount;
            this.LUT          = objdata.LUT;
        }