Initial commit.
This commit is contained in:
13
Data/IAppDbContext.cs
Normal file
13
Data/IAppDbContext.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user