Traveller/scripts/database/DataPackDbContext.cs

21 lines
632 B
C#
Raw Normal View History

2024-04-28 13:55:19 +00:00
using ColdMint.scripts.database.dataPackEntity;
using ColdMint.scripts.debug;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace ColdMint.scripts.database;
public class DataPackDbContext : DbContext
{
public DbSet<DataPackInfo> DataPackInfo { get; set; }
public DbSet<ZipEntryInfo> ZipEntryInfo { get; set; }
public DbSet<ZipFileInfo> ZipFileInfo { get; set; }
public DbSet<ItemInfo> ItemInfo { get; set; }
public DbSet<SpriteInfo> SpriteInfo { get; set; }
public DataPackDbContext(DbContextOptions<DataPackDbContext> options) : base(options)
{
}
}