Update all existing usages of AuthorString/AuthorId

Unfortunately the getters need to be left in place else EF breaks.
This commit is contained in:
Dean Herbert
2021-11-04 18:46:26 +09:00
parent 7acc4a4708
commit ed07ee8c61
12 changed files with 19 additions and 21 deletions

View File

@ -49,7 +49,7 @@ namespace osu.Game.Beatmaps
[Column("AuthorID")]
public int AuthorID
{
get => Author.Id;
get => Author.Id; // This should not be used, but is required to make EF work correctly.
set => Author.Id = value;
}
@ -60,7 +60,7 @@ namespace osu.Game.Beatmaps
[Column("Author")]
public string AuthorString
{
get => Author.Username;
get => Author.Username; // This should not be used, but is required to make EF work correctly.
set => Author.Username = value;
}