I18NCommander/I18N Commander/DataModel/Database/Common/IDataContext.cs

16 lines
424 B
C#

using Microsoft.EntityFrameworkCore;
namespace DataModel.Database.Common;
public interface IDataContext
{
public DbSet<Setting> Settings { get; set; }
public DbSet<Section> Sections { get; set; }
public DbSet<TextElement> TextElements { get; set; }
public DbSet<Translation> Translations { get; set; }
public Task ExportAsync(string path, bool includeSensitiveData = false);
}