using Microsoft.AspNetCore; using Microsoft.EntityFrameworkCore; using Models.Classes; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.Identity; namespace Database { public class DevHiveContext : IdentityDbContext, IdentityRole, int> { public DevHiveContext(DbContextOptions options) : base(options) { } public DbSet Technologies { get; set; } public DbSet Languages { get; set; } protected override void OnModelCreating(ModelBuilder builder) { // builder.Entity() // .HasKey(x => x.Id); base.OnModelCreating(builder); } } }