Updated subsonic to latest nightly build

Added foreign relations to all entities object
Removed unnecessary libraries
This commit is contained in:
Keivan 2010-09-30 17:09:22 -07:00
commit beaf0cf939
19 changed files with 3503 additions and 4821 deletions

View file

@ -1,12 +1,13 @@
using System;
using System.Collections.Generic;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class Series
{
[SubSonicPrimaryKey]
public string TvdbId { get; set; }
[SubSonicPrimaryKey(false)]
public int TvdbId { get; set; }
public string SeriesName { get; set; }
@ -22,5 +23,11 @@ namespace NzbDrone.Core.Repository
public string Language { get; set; }
public string Path { get; set; }
[SubSonicToManyRelation]
public virtual List<Season> Seasons { get; private set; }
[SubSonicToManyRelation]
public virtual List<Episode> Episodes { get; private set; }
}
}