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

@ -11,7 +11,7 @@ namespace NzbDrone.Core.Repository.Quality
[SubSonicPrimaryKey(true)]
public int ProfileId { get; set; }
[Required (ErrorMessage = "A Name is Required")]
[Required(ErrorMessage = "A Name is Required")]
[DisplayName("Name")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string Name { get; set; }
@ -52,5 +52,8 @@ namespace NzbDrone.Core.Repository.Quality
}
}
}
[SubSonicToManyRelation]
public virtual List<string> Series { get; private set; }
}
}