Add series uses all available information

This commit is contained in:
Mark McDowall 2013-04-11 00:52:38 -07:00
commit 23acb3a9ae
6 changed files with 19 additions and 22 deletions

View file

@ -42,6 +42,7 @@ namespace NzbDrone.Core.Datastore
.HasOne(h => h.Episode, h => h.EpisodeId);
Mapper.Entity<Series>().RegisterModel("Series")
.Ignore(s => s.Path)
.HasOne(s => s.RootFolder, s => s.RootFolderId);
Mapper.Entity<Season>().RegisterModel("Seasons");