Add project files.
This commit is contained in:
15
Data/ApplicationDbContext.cs
Normal file
15
Data/ApplicationDbContext.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using clivelancaster.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace clivelancaster.Data
|
||||
{
|
||||
public class ApplicationDbContext : DbContext
|
||||
{
|
||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<SubscribeFormModel> subscriptions { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user