mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
Remove setter from IHasGuidPrimaryKey
interface
This commit is contained in:
parent
916342c837
commit
3c15ef720f
@ -11,6 +11,6 @@ namespace osu.Game.Database
|
||||
{
|
||||
[JsonIgnore]
|
||||
[PrimaryKey]
|
||||
Guid ID { get; set; }
|
||||
Guid ID { get; }
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ namespace osu.Game.Database
|
||||
/// A wrapper to provide access to database backed classes in a thread-safe manner.
|
||||
/// </summary>
|
||||
/// <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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user