- using Microsoft.EntityFrameworkCore;
- using bitforum.Models;
- using bitforum.Models.Page;
- using bitforum.Models.Page.Faq;
- public class DefaultDbContext : DbContext
- {
- public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options) { }
- public DbSet<Config> Config { get; set; }
- public DbSet<Document> Document { get; set; }
- public DbSet<FaqCategory> FaqCategory { get; set; }
- public DbSet<FaqItem> FaqItem { get; set; }
- }
|