2021-05-03 01:30:06 +02:00
|
|
|
|
using HanyadikHetVan.Data.Entities;
|
2021-05-19 17:56:56 +02:00
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
2021-05-03 01:30:06 +02:00
|
|
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace HanyadikHetVan.Data
|
|
|
|
|
{
|
2021-05-19 17:56:56 +02:00
|
|
|
|
public class ApplicationDbContext : IdentityDbContext<User, IdentityRole, string>
|
2021-05-03 01:30:06 +02:00
|
|
|
|
{
|
|
|
|
|
public DbSet<Pause> Pauses { get; set; }
|
|
|
|
|
public DbSet<WeeklyTimeSpan> WeeklyTimeSpans { get; set; }
|
|
|
|
|
|
2021-05-19 17:56:56 +02:00
|
|
|
|
public DbSet<FunFact> FunFacts { get; set; }
|
2021-05-19 04:33:53 +02:00
|
|
|
|
|
2021-05-03 01:30:06 +02:00
|
|
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
|
|
|
: base(options)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|