mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Initial push to use ILive
in import process
This commit is contained in:
14
osu.Game/Database/EntityFrameworkLiveExtensions.cs
Normal file
14
osu.Game/Database/EntityFrameworkLiveExtensions.cs
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
namespace osu.Game.Database
|
||||
{
|
||||
public static class EntityFrameworkLiveExtensions
|
||||
{
|
||||
public static ILive<T> ToEntityFrameworkLive<T>(this T item)
|
||||
where T : class
|
||||
{
|
||||
return new EntityFrameworkLive<T>(item);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user