public Object Clone()
        {
            TblEdPartnerItemXrefEntityData _tmp = new TblEdPartnerItemXrefEntityData();

            _tmp.PartnerId          = this.PartnerId;
            _tmp.OriginalPartnerId  = this.OriginalPartnerId;
            _tmp.TravItemId         = this.TravItemId;
            _tmp.OriginalTravItemId = this.OriginalTravItemId;
            _tmp.TravUom            = this.TravUom;
            _tmp.OriginalTravUom    = this.OriginalTravUom;

            _tmp.EdiUom        = this.EdiUom;
            _tmp.EAN           = this.EAN;
            _tmp.GTIN          = this.GTIN;
            _tmp.UPC           = this.UPC;
            _tmp.SKU           = this.SKU;
            _tmp.BuyerCode     = this.BuyerCode;
            _tmp.VendorCode    = this.VendorCode;
            _tmp.InternalCode  = this.InternalCode;
            _tmp.InternalCode1 = this.InternalCode1;
            _tmp.InternalCode2 = this.InternalCode2;

            return(_tmp);
        }
예제 #2
0
 /// <summary>
 /// Instantiates the object and initializes inner data classes.
 /// </summary>
 protected PartnerItemXrefBase(string compId) : base(compId)
 {
     //initialize inner dataclass
     this.entityData = new TblEdPartnerItemXrefEntityData();
     this.backupData = null;
 }