Converting to EF, need to work on TS

This commit is contained in:
Lani Aung
2021-11-19 23:04:15 -07:00
parent 1fd14ebafd
commit 744fc6bc57
43 changed files with 2159 additions and 542 deletions
+20
View File
@@ -0,0 +1,20 @@
using fxl.codes.kisekae.Entities;
using Microsoft.EntityFrameworkCore;
namespace fxl.codes.kisekae
{
public class KisekaeContext : DbContext
{
public KisekaeContext(DbContextOptions<KisekaeContext> options) : base(options)
{
}
public DbSet<Kisekae> KisekaeSets { get; set; }
public DbSet<Configuration> Configurations { get; set; }
public DbSet<Cel> Cels { get; set; }
public DbSet<CelConfig> CelConfigs { get; set; }
public DbSet<Render> Renders { get; set; }
public DbSet<Palette> Palettes { get; set; }
public DbSet<PaletteColor> PaletteColors { get; set; }
}
}