Files
Finlytic/FinlyticCore/Database/ISettingsDbContext.cs
T

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);
}