示例#1
0
 public void CopyTo(BasCode obj)
 {
     obj.ID           = this.ID;
     obj.NAME         = this.NAME;
     obj.TYPE         = this.TYPE;
     obj.PREFIX       = this.PREFIX;
     obj.DateFormat   = this.DateFormat;
     obj.BindSequence = this.BindSequence;
     obj.CodeLen      = this.CodeLen;
     obj.MEMO         = this.MEMO;
     obj.CreatedDate  = this.CreatedDate;
     obj.UpdatedDate  = this.UpdatedDate;
     obj.UpdatedBy    = this.UpdatedBy;
 }
示例#2
0
        public Object Clone()
        {
            BasCode obj = new BasCode();

            obj.ID = this.ID;

            obj.NAME         = this.NAME;
            obj.TYPE         = this.TYPE;
            obj.PREFIX       = this.PREFIX;
            obj.DateFormat   = this.DateFormat;
            obj.BindSequence = this.BindSequence;
            obj.CodeLen      = this.CodeLen;
            obj.MEMO         = this.MEMO;
            obj.CreatedDate  = this.CreatedDate;
            obj.UpdatedDate  = this.UpdatedDate;
            obj.UpdatedBy    = this.UpdatedBy;

            return(obj);
        }