Add project files.
This commit is contained in:
18
JSMR.Infrastructure/Data/AppDbContext.cs
Normal file
18
JSMR.Infrastructure/Data/AppDbContext.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using JSMR.Domain.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace JSMR.Infrastructure.Data;
|
||||
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public DbSet<VoiceWork> VoiceWorks { get; set; }
|
||||
public DbSet<EnglishVoiceWork> EnglishVoiceWorks { get; set; }
|
||||
public DbSet<Circle> Circles { get; set; }
|
||||
public DbSet<Tag> Tags { get; set; }
|
||||
public DbSet<EnglishTag> EnglishTags { get; set; }
|
||||
public DbSet<VoiceWorkTag> VoiceWorkTags { get; set; }
|
||||
public DbSet<Creator> Creators { get; set; }
|
||||
public DbSet<VoiceWorkCreator> VoiceWorkCreators { get; set; }
|
||||
public DbSet<Series> Series { get; set; }
|
||||
public DbSet<VoiceWorkSearch> VoiceWorkSearches { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user