1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 12:13:20 +08:00

Remove setter from IHasGuidPrimaryKey interface

This commit is contained in:
Dean Herbert 2021-10-04 16:26:28 +09:00
parent 916342c837
commit 3c15ef720f
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ namespace osu.Game.Database
{ {
[JsonIgnore] [JsonIgnore]
[PrimaryKey] [PrimaryKey]
Guid ID { get; set; } Guid ID { get; }
} }
} }

View File

@ -9,7 +9,7 @@ namespace osu.Game.Database
/// A wrapper to provide access to database backed classes in a thread-safe manner. /// A wrapper to provide access to database backed classes in a thread-safe manner.
/// </summary> /// </summary>
/// <typeparam name="T">The databased type.</typeparam> /// <typeparam name="T">The databased type.</typeparam>
public interface ILive<out T> where T : class public interface ILive<out T> where T : class // TODO: Add IHasGuidPrimaryKey once we don't need EF support any more.
{ {
Guid ID { get; } Guid ID { get; }