protected override void Seed(XmsDbContext context) { DataDictionaryData.Init(context); DepartmentData.Init(context); DistributionCenterData.Init(context); StoreData.Init(context); CurrencyRateData.Init(context); IncidentalPriceData.Init(context); ChannelData.Init(context); }
protected override void LazySet() { base.LazySet(); if (PersistenceState == PersistenceState.NewAndChanged || PersistenceState == PersistenceState.LoadedAndChanged) { if ((object)InnerData == (object)OriginalData) { OriginalData = new CurrencyRateData(InnerData); } } }
public CurrencyRateData(CurrencyRateData data) { CurrencyRateDate = data.CurrencyRateDate; FromCurrencyCode = data.FromCurrencyCode; ToCurrencyCode = data.ToCurrencyCode; AverageRate = data.AverageRate; EndOfDayRate = data.EndOfDayRate; Currency = data.Currency; ModifiedDate = data.ModifiedDate; Uid = data.Uid; }