update db retrieval

This commit is contained in:
Luke Pulverenti
2015-10-27 13:26:04 -04:00
parent 6edd92d2a5
commit 455468ef94
4 changed files with 161 additions and 18 deletions

View File

@@ -58,6 +58,26 @@ namespace MediaBrowser.Controller.Entities
}
}
private string _name;
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public override string Name
{
get
{
return _name;
}
set
{
_name = value;
// lazy load this again
SortName = null;
}
}
/// <summary>
/// Returns the folder containing the item.
/// If the item is a folder, it returns the folder itself