Class IdentityDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: Volo.Abp.Identity.EntityFrameworkCore
Assembly: Volo.Abp.Identity.EntityFrameworkCore.dll
Syntax
[ConnectionStringName("AbpIdentity")]
public class IdentityDbContext : AbpDbContext<IdentityDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, IIdentityDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable
Constructors
IdentityDbContext(DbContextOptions<IdentityDbContext>)
Declaration
public IdentityDbContext(DbContextOptions<IdentityDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<IdentityDbContext> | options |
Properties
ClaimTypes
Declaration
public DbSet<IdentityClaimType> ClaimTypes { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentityClaimType> |
LinkUsers
Declaration
public DbSet<IdentityLinkUser> LinkUsers { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentityLinkUser> |
OrganizationUnits
Declaration
public DbSet<OrganizationUnit> OrganizationUnits { get; set; }
Property Value
Type | Description |
---|---|
DbSet<OrganizationUnit> |
Roles
Declaration
public DbSet<IdentityRole> Roles { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentityRole> |
SecurityLogs
Declaration
public DbSet<IdentitySecurityLog> SecurityLogs { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentitySecurityLog> |
Sessions
Declaration
public DbSet<IdentitySession> Sessions { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentitySession> |
UserDelegations
Declaration
public DbSet<IdentityUserDelegation> UserDelegations { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentityUserDelegation> |
Users
Declaration
public DbSet<IdentityUser> Users { get; set; }
Property Value
Type | Description |
---|---|
DbSet<IdentityUser> |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | builder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.Identity.EntityFrameworkCore.IdentityDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)
Implements
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService