16 lines
447 B
C#
16 lines
447 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using FinlyticCore.Entities.Settings;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace FinlyticCore.Database;
|
|
|
|
/// <summary>
|
|
/// Einheitliches Interface für DbContexts, die dynamische Einstellungen verwalten.
|
|
/// </summary>
|
|
public interface ISettingsDbContext
|
|
{
|
|
DbSet<SettingEntity> DynamicSettings { get; }
|
|
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
|
|
}
|