Sequence/DbContext.cs

11 lines
357 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) { }
public DbSet<Card> Cards { get; set; }
}