using BMA.EHR.Application.Common.Interfaces; using BMA.EHR.Domain.Entities.MetaData.BloodGroup; using BMA.EHR.Domain.Entities.MetaData.Prefix; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Infrastructure.Persistence { public class ApplicationDBContext : DbContext, IApplicationDBContext { public ApplicationDBContext(DbContextOptions options) : base(options) { } #region " Prefix " public DbSet MD_Prefixes { get; set; } public DbSet MD_Prefix_Drafts { get; set; } public DbSet MD_Prefix_Histories { get; set; } #endregion #region " BloodGroups " public DbSet MD_BloodGroups { get; set; } public DbSet MD_BloodGroup_Drafts { get; set; } public DbSet MD_BloodGroup_Histories { get; set; } #endregion public Task SaveChangesAsync() { return base.SaveChangesAsync(); } } }