Fixed issue with storing and retrieving quality profile, checking the profile.

This commit is contained in:
markus101 2011-02-16 00:16:14 -08:00
commit 309e1ba249
3 changed files with 10 additions and 4 deletions

View file

@ -30,7 +30,10 @@ namespace NzbDrone.Core.Repository
public bool Monitored { get; set; }
public QualityProfile QualityProfile { get; set; }
public virtual int ProfileId { get; set; }
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
public virtual QualityProfile QualityProfile { get; set; }
[SubSonicToManyRelation]
public virtual List<Season> Seasons { get; private set; }