public void CopyTo(BasBanci obj) { obj.ID = this.ID; obj.NAME = this.NAME; obj.StartTime = this.StartTime; obj.EndTime = this.EndTime; obj.DURATION = this.DURATION; obj.MEMO = this.MEMO; obj.ACTIVE = this.ACTIVE; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.StartResttime = this.StartResttime; obj.EndResttime = this.EndResttime; obj.DurationRest = this.DurationRest; obj.CODE = this.CODE; }
public Object Clone() { BasBanci obj = new BasBanci(); obj.ID = this.ID; obj.NAME = this.NAME; obj.StartTime = this.StartTime; obj.EndTime = this.EndTime; obj.DURATION = this.DURATION; obj.MEMO = this.MEMO; obj.ACTIVE = this.ACTIVE; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.StartResttime = this.StartResttime; obj.EndResttime = this.EndResttime; obj.DurationRest = this.DurationRest; obj.CODE = this.CODE; return(obj); }