You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
Would like to externally override DbContextOptions when instantiating a context that uses IdentityDbContext like so:
public class AppDbContext : IdentityDbContext<ApplicationUser>
{
public AppDbContext() { }
public AppDbContext(DbContextOptions options)
: base(options)
{
}
}
Perhaps adding something like this to IdentityDbContext.cs?
public class IdentityDbContext<TUser> : IdentityDbContext<TUser, IdentityRole, string> where TUser : IdentityUser
{
public IdentityDbContext() { }
public IdentityDbContext(DbContextOptions options)
: base(options)
{
}
}