RootFolder removed from Series, going back to Path

This commit is contained in:
Mark McDowall 2013-05-23 21:10:56 -07:00
commit 95a9a297bc
14 changed files with 21 additions and 98 deletions

View file

@ -47,9 +47,8 @@ namespace NzbDrone.Core.Datastore
// .HasOne(h => h.Series, h => h.SeriesId);
Mapper.Entity<Series>().RegisterModel("Series")
.Ignore(s => s.Path)
.Ignore(s => s.RootFolderPath)
.Relationship()
.HasOne(s => s.RootFolder, s => s.RootFolderId)
.HasOne(s => s.QualityProfile, s => s.QualityProfileId);
Mapper.Entity<Season>().RegisterModel("Seasons");