Show / Hide Table of Contents

Class IdentityDbContext

Base class for the Entity Framework database context used for identity.

Inheritance
System.Object
IdentityDbContext
Implements
IIdentityDbContext
IEfCoreDbContext
Namespace: Volo.Abp.Identity.EntityFrameworkCore
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
Type Name Description
DbContextOptions<IdentityDbContext> options

Properties

ClaimTypes

Declaration
public DbSet<IdentityClaimType> ClaimTypes { get; set; }
Property Value
Type Description
DbSet<IdentityClaimType>

IdentitySecurityLogs

Declaration
public DbSet<IdentitySecurityLog> IdentitySecurityLogs { get; set; }
Property Value
Type Description
DbSet<IdentitySecurityLog>

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>

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

Implements

IIdentityDbContext
IEfCoreDbContext

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft