mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
LazyLoaded Series and Episode again for history
This commit is contained in:
parent
17e99958e1
commit
68f93dbb10
3 changed files with 8 additions and 8 deletions
|
@ -38,10 +38,10 @@ namespace NzbDrone.Core.Datastore
|
|||
|
||||
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
||||
|
||||
Mapper.Entity<History.History>().RegisterModel("History");
|
||||
// .Relationship()
|
||||
// .HasOne(h => h.Episode, h => h.EpisodeId)
|
||||
// .HasOne(h => h.Series, h => h.SeriesId);
|
||||
Mapper.Entity<History.History>().RegisterModel("History")
|
||||
.Relationship()
|
||||
.HasOne(h => h.Episode, h => h.EpisodeId)
|
||||
.HasOne(h => h.Series, h => h.SeriesId);
|
||||
|
||||
Mapper.Entity<Series>().RegisterModel("Series")
|
||||
.Ignore(s => s.Path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue