Fix broken test cases, remove some recursive lookup methods.

This commit is contained in:
Dean Herbert
2017-05-11 18:14:48 +09:00
parent 18b7c8e783
commit a2f6d8a3e6
4 changed files with 8 additions and 7 deletions

View File

@ -48,11 +48,9 @@ namespace osu.Game.Database
return Connection.Table<T>();
}
public T GetWithChildren<T>(object id, bool recursive = false) where T : class
{
return Connection.GetWithChildren<T>(id, recursive);
}
/// <summary>
/// This is expensive. Use with caution.
/// </summary>
public List<T> GetAllWithChildren<T>(Expression<Func<T, bool>> filter = null, bool recursive = true)
where T : class
{