blob: 8623a119b501064daf5726d498cf38edf4366981 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using Microsoft.AspNetCore;
using Microsoft.EntityFrameworkCore;
using Models.Classes;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
namespace Database
{
public class DevHiveContext : IdentityDbContext<IdentityUser<int>, IdentityRole<int>, int>
{
public DevHiveContext(DbContextOptions options)
: base(options) { }
public DbSet<Technology> Technologies { get; set; }
public DbSet<Language> Languages { get; set; }
}
}
|