protected CountryRegionCurrencyEntity(SerializationInfo info, StreamingContext context) : base(info, context) { if (SerializationHelper.Optimization != SerializationOptimization.Fast) { _countryRegion = (CountryRegionEntity)info.GetValue("_countryRegion", typeof(CountryRegionEntity)); if (_countryRegion != null) { _countryRegion.AfterSave += new EventHandler(OnEntityAfterSave); } _currency = (CurrencyEntity)info.GetValue("_currency", typeof(CurrencyEntity)); if (_currency != null) { _currency.AfterSave += new EventHandler(OnEntityAfterSave); } this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance()); } // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }
protected CurrencyRateEntity(SerializationInfo info, StreamingContext context) : base(info, context) { if (SerializationHelper.Optimization != SerializationOptimization.Fast) { _salesOrderHeaders = (EntityCollection <SalesOrderHeaderEntity>)info.GetValue("_salesOrderHeaders", typeof(EntityCollection <SalesOrderHeaderEntity>)); _currency = (CurrencyEntity)info.GetValue("_currency", typeof(CurrencyEntity)); if (_currency != null) { _currency.AfterSave += new EventHandler(OnEntityAfterSave); } _currency_ = (CurrencyEntity)info.GetValue("_currency_", typeof(CurrencyEntity)); if (_currency_ != null) { _currency_.AfterSave += new EventHandler(OnEntityAfterSave); } this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance()); } // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }