Add Database Connection to Installer file
This commit is contained in:
@@ -13,8 +13,7 @@ namespace Diary.Data
|
||||
{
|
||||
public DbSet<Entry> Entries { get; set; }
|
||||
|
||||
public DiaryDBContext(DbContextOptions<DiaryDBContext> options) : base(options)
|
||||
{
|
||||
public DiaryDBContext(DbContextOptions<DiaryDBContext> options) : base(options){
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder builder)
|
||||
|
||||
Reference in New Issue
Block a user