14 lines
406 B
C#
14 lines
406 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using TriliumMind.Data.Entities;
|
|
|
|
namespace TriliumMind.Data;
|
|
|
|
public interface IAppDbContext : IDisposable
|
|
{
|
|
DbSet<Config> Configs { get; set; }
|
|
DbSet<JiraIssue> JiraIssues { get; set; }
|
|
DatabaseFacade Database { get; }
|
|
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
|
|
}
|