📄 src/Infrastructure/Database/EntityFrameworkCoreLockingBehavior.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
using System;
using System.Threading.Tasks;
using Jellyfin.Database.Implementations;
using Jellyfin.Database.Implementations.Locking;
using Microsoft.EntityFrameworkCore;

namespace Slopper.Infrastructure.Database;

internal sealed class EntityFrameworkCoreLockingBehavior : IEntityFrameworkCoreLockingBehavior
{
    public void Initialise(DbContextOptionsBuilder optionsBuilder) => throw new NotImplementedException();

    public void OnSaveChanges(JellyfinDbContext context, Action saveChanges) => throw new NotImplementedException();

    public Task OnSaveChangesAsync(JellyfinDbContext context, Func<Task> saveChanges) =>
        throw new NotImplementedException();
}