initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Demo001.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Demo001.Data;
|
||||
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<TodoItem> TodoItems => Set<TodoItem>();
|
||||
}
|
||||
Reference in New Issue
Block a user