Sequence/DbContext.cs

13 lines
412 B
C#
Raw Normal View History

2023-04-04 01:56:57 +00:00
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) { }
2023-04-04 02:15:48 +00:00
public DbSet<Card> Deck { get; set; }
public DbSet<LayoutCard> LayoutCards { get; set; }
2023-04-04 01:56:57 +00:00
}