public void CopyTo(CartonTemp obj) { obj.IP = this.IP; obj.PartsdrawingCode = this.PartsdrawingCode; obj.QualityCode = this.QualityCode; obj.QUANTITY = this.QUANTITY; obj.ID = this.ID; obj.ProductName = this.ProductName; obj.BatchNumber = this.BatchNumber; obj.TYPE = this.TYPE; }
public Object Clone() { CartonTemp obj = new CartonTemp(); obj.ID = this.ID; obj.IP = this.IP; obj.PartsdrawingCode = this.PartsdrawingCode; obj.QualityCode = this.QualityCode; obj.QUANTITY = this.QUANTITY; obj.ProductName = this.ProductName; obj.BatchNumber = this.BatchNumber; obj.TYPE = this.TYPE; return(obj); }