Recursively retrieve files

This commit is contained in:
Dean Herbert 2017-07-27 12:41:34 +09:00
parent 690b41b1e9
commit aa81397df4

View File

@ -37,7 +37,7 @@ namespace osu.Game.Beatmaps
public string StoryboardFile => Files.FirstOrDefault(f => f.Filename.EndsWith(".osb"))?.Filename;
[ManyToMany(typeof(BeatmapSetFileInfo))]
[ManyToMany(typeof(BeatmapSetFileInfo), CascadeOperations = CascadeOperation.CascadeRead)]
public List<FileInfo> Files { get; set; }
public bool Protected { get; set; }