DefaultDbContext.cs 279 B

12345678910
  1. using Microsoft.EntityFrameworkCore;
  2. using bitforum.Models;
  3. public class DefaultDbContext : DbContext
  4. {
  5. public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options) { }
  6. // Config 테이블과 매핑
  7. public DbSet<Config> Config { get; set; }
  8. }