reduced property virtualization

This commit is contained in:
Luke Pulverenti
2013-08-07 11:59:13 -04:00
parent b7f927d43a
commit b1b4e77178
5 changed files with 148 additions and 72 deletions

View File

@@ -532,12 +532,12 @@ namespace MediaBrowser.Controller.Entities
{
get { return Genres; }
}
/// <summary>
/// Gets or sets the studios.
/// </summary>
/// <value>The studios.</value>
public virtual List<string> Studios { get; set; }
public List<string> Studios { get; set; }
/// <summary>
/// Gets or sets the genres.
@@ -613,7 +613,7 @@ namespace MediaBrowser.Controller.Entities
/// Gets or sets the production year.
/// </summary>
/// <value>The production year.</value>
public virtual int? ProductionYear { get; set; }
public int? ProductionYear { get; set; }
/// <summary>
/// If the item is part of a series, this is it's number in the series.
@@ -1022,7 +1022,7 @@ namespace MediaBrowser.Controller.Entities
{
rating = OfficialRatingForComparison;
}
if (string.IsNullOrEmpty(rating))
{
return !user.Configuration.BlockNotRated;