Jak przenieść API Memberhip do nowego DbContextu

0

Witam,

Utworzyłem nowy context

 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Web.Security;

namespace Intranet.Models
{
    public class EFDbContext: DbContext
    {

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Conventions.Remove<OneToManyCascadeDeleteConvention>();
            modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
            
      
        }

        public DbSet<Ankieta> Ankieta { get; set; }
        public DbSet<AnkietaPytanie> AnkietaPytanie { get; set; }
        public DbSet<AnkietaOdpowiedzi> AnkietaOdpowiedzi { get; set; }
        public DbSet<RodzajPytania> RodzajPytania { get; set; }
        public DbSet<OdpowiedziArkusza> OdpowiedziArkusza { get; set; }

    }
}

i mam pytanie co muszę zrobić żeby klasy odpowiedzialne za autoryzację w MVC5 było można dodać do nowego DbContextu - chodzi mi dokładnie o tabele AspNetRoles, AspNetUserClaims, AspNetUserLogins, AspNetUserRoles, AspNetUsers które się automatycznie generują przy DefaultConnection z wykorzystaniem ApplicationDbContext.

1 użytkowników online, w tym zalogowanych: 0, gości: 1