Sequence/DbContext.cs
2023-04-03 22:15:48 -04:00

13 lines
412 B
C#

using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Sequence.Entities;
public class DbContext : IdentityDbContext<User, IdentityRole<Guid>, Guid>
{
public DbContext(DbContextOptions<DbContext> options) : base(options) { }
public DbSet<Card> Deck { get; set; }
public DbSet<LayoutCard> LayoutCards { get; set; }
}