|
|
@ -38,10 +38,10 @@ namespace NzbDrone.Core.Datastore
|
|
|
|
|
|
|
|
|
|
|
|
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
|
|
|
Mapper.Entity<SceneMapping>().RegisterModel("SceneMappings");
|
|
|
|
|
|
|
|
|
|
|
|
Mapper.Entity<History.History>().RegisterModel("History");
|
|
|
|
Mapper.Entity<History.History>().RegisterModel("History")
|
|
|
|
// .Relationship()
|
|
|
|
.Relationship()
|
|
|
|
// .HasOne(h => h.Episode, h => h.EpisodeId)
|
|
|
|
.HasOne(h => h.Episode, h => h.EpisodeId)
|
|
|
|
// .HasOne(h => h.Series, h => h.SeriesId);
|
|
|
|
.HasOne(h => h.Series, h => h.SeriesId);
|
|
|
|
|
|
|
|
|
|
|
|
Mapper.Entity<Series>().RegisterModel("Series")
|
|
|
|
Mapper.Entity<Series>().RegisterModel("Series")
|
|
|
|
.Ignore(s => s.Path)
|
|
|
|
.Ignore(s => s.Path)
|
|
|
|