isn/Data/ApplicationDbContext.cs

20 lines
544 B
C#
Raw Normal View History

2021-04-25 12:12:50 +01:00
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using nuget_host.Models;
2021-05-02 16:37:03 +01:00
using nuget_host.Models.ApiKeys;
2021-04-25 12:12:50 +01:00
namespace nuget_host.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
2021-05-02 16:37:03 +01:00
public DbSet<ApiKey> ApiKeys { get; set; }
2021-04-25 12:12:50 +01:00
}
}