32 lines
838 B
C#
32 lines
838 B
C#
using BMA.EHR.Recurit.Exam.Service.Models;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BMA.EHR.Recurit.Exam.Service.Data
|
|
{
|
|
public class ApplicationDbContext : DbContext
|
|
{
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
: base(options)
|
|
{
|
|
}
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
}
|
|
|
|
public DbSet<Prefix> Prefixes { get; set; }
|
|
|
|
public DbSet<Religion> Religions { get; set; }
|
|
|
|
public DbSet<Relationship> Relationships { get; set; }
|
|
|
|
public DbSet<EducationLevel> EducationLevels { get; set; }
|
|
|
|
public DbSet<Province> Provinces { get; set; }
|
|
|
|
public DbSet<District> Districts { get; set; }
|
|
|
|
public DbSet<SubDistrict> SubDistricts { get; set; }
|
|
|
|
}
|
|
}
|