public Object Clone() { PartsdrawingCode obj = new PartsdrawingCode(); obj.ID = this.ID; obj.PartsCode = this.PartsCode; obj.CustName = this.CustName; obj.CustCode = this.CustCode; obj.ProductName = this.ProductName; obj.ProductCode = this.ProductCode; obj.PlanQuantity = this.PlanQuantity; obj.QualityCode = this.QualityCode; obj.AskQuantity = this.AskQuantity; obj.BatchNumber = this.BatchNumber; obj.AskDate = this.AskDate; obj.ACTIVE = this.ACTIVE; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.UnitTime = this.UnitTime; return(obj); }
public void CopyTo(PartsdrawingCode obj) { obj.ID = this.ID; obj.PartsCode = this.PartsCode; obj.CustName = this.CustName; obj.CustCode = this.CustCode; obj.ProductName = this.ProductName; obj.ProductCode = this.ProductCode; obj.PlanQuantity = this.PlanQuantity; obj.QualityCode = this.QualityCode; obj.AskQuantity = this.AskQuantity; obj.BatchNumber = this.BatchNumber; obj.AskDate = this.AskDate; obj.ACTIVE = this.ACTIVE; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.UnitTime = this.UnitTime; }