Class AuthDbContext
The main database context for the authentication module.
public class AuthDbContext : IdentityDbContext<AuthenticatedUser, AuthenticatedUserRole, Guid>, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable
- Inheritance
-
IdentityUserContext<AuthenticatedUser, Guid, IdentityUserClaim<Guid>, IdentityUserLogin<Guid>, IdentityUserToken<Guid>>IdentityDbContext<AuthenticatedUser, AuthenticatedUserRole, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, IdentityUserLogin<Guid>, IdentityRoleClaim<Guid>, IdentityUserToken<Guid>>AuthDbContext
- Implements
- Inherited Members
Constructors
AuthDbContext()
Parameterless constructor for the AuthDbContext. This is required for migrations.
public AuthDbContext()
AuthDbContext(DbContextOptions<AuthDbContext>)
The constructor for the AuthDbContext.
public AuthDbContext(DbContextOptions<AuthDbContext> options)
Parameters
options
DbContextOptions<AuthDbContext>