public EpisodeEntry( IViewModelContainer viewModelContainer, IDataContainer dataContainer, Episode model, SeriesEntry series ) : base( viewModelContainer, dataContainer ) { Series = series; Model = model; if( model.BannerLocation != null ) { BannerUrl = model.BannerLocation; } }
public virtual void Update( Episode other ) { Debug.Assert( Id == other.Id ); AbsoluteNumber = other.AbsoluteNumber; BannerLocation = other.BannerLocation; EpisodeNumber = other.EpisodeNumber; FirstAired = other.FirstAired; ImdbId = other.ImdbId; LastUpdated = other.LastUpdated; Name = other.Name; Overview = other.Overview; ProductionCode = other.ProductionCode; Rating = other.Rating; Ratings = other.Ratings; SeasonNumber = other.SeasonNumber; SeriesId = other.SeriesId; // TODO: Update writers // TODO: Update directors // TODO: Update guest stars }