hanyadikhetvan-dotnethf/HanyadikHetVan/Data/ApplicationDbContext.cs
Torma Kristóf 8347b10401
All checks were successful
continuous-integration/drone/push Build is passing
big day behind me
2021-05-19 04:33:53 +02:00

20 lines
537 B
C#

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; }
public DbSet<Purse> Purses { get; set; }
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
}
}