Fixed Episode to EpisodeFile relationship (So getting the EpisodeFIle gets associated Episode(s) as well.

This commit is contained in:
markus101 2011-02-23 16:40:11 -08:00
parent 568a9d1d24
commit e7cabfe235
5 changed files with 15 additions and 6 deletions

View file

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Repository
public class EpisodeFile
{
[SubSonicPrimaryKey]
public virtual int FileId { get; set; }
public virtual int EpisodeFileId { get; set; }
public int SeriesId { get; set; }
public string Path { get; set; }
public QualityTypes Quality { get; set; }