You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ASP.NET-MVC-Study/BlazorApp/WebAPI/Data/ApplicationDbContext.cs

19 lines
457 B

2 years ago
using Microsoft.EntityFrameworkCore;
using SharedData.Models;
namespace WebAPI.Data
{
public class ApplicationDbContext : DbContext
{
public DbSet<GameResult> GameResults { get; set; }
public DbSet<Book> Books { get; set; }
public DbSet<Review> Reviews { get; set; }
2 years ago
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
}
}