//public Startup( // IIdentityContextFactory<User, Role, UserLogin, UserRole, UserClaim> contextFactory, // IUserManager<User> userManager //) public Startup() { _contextFactory = new IdentityEntityFrameworkContextFactory <User, Role, UserLogin, UserRole, UserClaim>(); _userManager = new BaseUserManager <User>( new BaseUserStore <User, Role, UserLogin, UserRole, UserClaim>() ); }
public MigrationStartupComponent(IIdentityContextFactory identityContextFactory) { _identityContextFactory = identityContextFactory; }