Fix many shortcomings and compatibility issues with EF classes post-rename

This commit is contained in:
Dean Herbert
2021-12-15 00:31:35 +09:00
parent d7fe3584cd
commit 8d943b5709
10 changed files with 32 additions and 25 deletions

View File

@ -16,6 +16,7 @@ namespace osu.Game.Beatmaps
{
[ExcludeFromDynamicCompile]
[Serializable]
[Table(@"BeatmapInfo")]
public class EFBeatmapInfo : IEquatable<EFBeatmapInfo>, IHasPrimaryKey, IBeatmapInfo
{
public int ID { get; set; }
@ -124,7 +125,7 @@ namespace osu.Game.Beatmaps
/// <summary>
/// Currently only populated for beatmap deletion. Use <see cref="ScoreManager"/> to query scores.
/// </summary>
public List<ScoreInfo> Scores { get; set; }
public List<EFScoreInfo> Scores { get; set; }
[JsonIgnore]
public DifficultyRating DifficultyRating => BeatmapDifficultyCache.GetDifficultyRating(StarRating);