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