Class IdentityDbContext
Base class for the Entity Framework database context used for identity.
Inheritance
System.Object
IdentityDbContext
Implements
IEfCoreDbContext
Assembly: Volo.Abp.Identity.EntityFrameworkCore.dll
Syntax
public class IdentityDbContext : AbpDbContext<IdentityDbContext>, IIdentityDbContext, IEfCoreDbContext
Constructors
IdentityDbContext(DbContextOptions<IdentityDbContext>)
Declaration
public IdentityDbContext(DbContextOptions<IdentityDbContext> options)
Parameters
Properties
ClaimTypes
Declaration
public DbSet<IdentityClaimType> ClaimTypes { get; set; }
Property Value
IdentitySecurityLogs
Declaration
public DbSet<IdentitySecurityLog> IdentitySecurityLogs { get; set; }
Property Value
OrganizationUnits
Declaration
public DbSet<OrganizationUnit> OrganizationUnits { get; set; }
Property Value
Roles
Declaration
public DbSet<IdentityRole> Roles { get; set; }
Property Value
Users
Declaration
public DbSet<IdentityUser> Users { get; set; }
Property Value
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type |
Name |
Description |
ModelBuilder |
builder |
|
Implements
IEfCoreDbContext
Extension Methods