예제 #1
0
 public void CopyTo(CartonInfo obj)
 {
     obj.ID  = this.ID;
     obj.CSN = this.CSN;
     obj.PartsdrawingCode = this.PartsdrawingCode;
     obj.QualityCode      = this.QualityCode;
     obj.QUANTITY         = this.QUANTITY;
     obj.OrderNumber      = this.OrderNumber;
     obj.ProductName      = this.ProductName;
     obj.BatchNumber      = this.BatchNumber;
     obj.MEMO             = this.MEMO;
     obj.CreatedDate      = this.CreatedDate;
     obj.UpdatedDate      = this.UpdatedDate;
     obj.UpdatedBy        = this.UpdatedBy;
 }
예제 #2
0
        public Object Clone()
        {
            CartonInfo obj = new CartonInfo();

            obj.ID = this.ID;

            obj.CSN = this.CSN;
            obj.PartsdrawingCode = this.PartsdrawingCode;
            obj.QualityCode      = this.QualityCode;
            obj.QUANTITY         = this.QUANTITY;
            obj.OrderNumber      = this.OrderNumber;
            obj.ProductName      = this.ProductName;
            obj.BatchNumber      = this.BatchNumber;
            obj.MEMO             = this.MEMO;
            obj.CreatedDate      = this.CreatedDate;
            obj.UpdatedDate      = this.UpdatedDate;
            obj.UpdatedBy        = this.UpdatedBy;

            return(obj);
        }