public void CopyTo(BasBase obj) { obj.ID = this.ID; obj.CODE = this.CODE; obj.NAME = this.NAME; obj.SubCode = this.SubCode; obj.SubName = this.SubName; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }
public Object Clone() { BasBase obj = new BasBase(); obj.ID = this.ID; obj.CODE = this.CODE; obj.NAME = this.NAME; obj.SubCode = this.SubCode; obj.SubName = this.SubName; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }