using JSMR.Domain.Entities; using Microsoft.EntityFrameworkCore; namespace JSMR.Infrastructure.Data; public class AppDbContext(DbContextOptions options) : DbContext(options) { public DbSet VoiceWorks { get; set; } public DbSet EnglishVoiceWorks { get; set; } public DbSet VoiceWorkLocalizations { get; set; } public DbSet Circles { get; set; } public DbSet Tags { get; set; } public DbSet EnglishTags { get; set; } public DbSet VoiceWorkTags { get; set; } public DbSet Creators { get; set; } public DbSet VoiceWorkCreators { get; set; } public DbSet Series { get; set; } public DbSet VoiceWorkSearches { get; set; } protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.ApplyConfigurationsFromAssembly(typeof(AppDbContext).Assembly); } }