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:
parent
916342c837
commit
3c15ef720f
@ -11,6 +11,6 @@ namespace osu.Game.Database
|
|||||||
{
|
{
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[PrimaryKey]
|
[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.
|
/// 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; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user