mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Update all existing usages of AuthorString
/AuthorId
Unfortunately the getters need to be left in place else EF breaks.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user