Show / Hide Table of Contents

Class IdentityDbContext

Inheritance
object
AbpDbContext<IdentityDbContext>
IdentityDbContext
Implements
IAbpEfCoreDbContext
IAbpEfCoreDbFunctionContext
ITransientDependency
IIdentityDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
IAsyncDisposable
Inherited Members
AbpDbContext<IdentityDbContext>.DbContextOptions
AbpDbContext<IdentityDbContext>.OnConfiguring(DbContextOptionsBuilder)
AbpDbContext<IdentityDbContext>.ConfigureConventions(ModelConfigurationBuilder)
AbpDbContext<IdentityDbContext>.TrySetDatabaseProvider(ModelBuilder)
AbpDbContext<IdentityDbContext>.GetDatabaseProviderOrNull(ModelBuilder)
AbpDbContext<IdentityDbContext>.SaveChangesAsync(bool, CancellationToken)
AbpDbContext<IdentityDbContext>.PublishEntityEvents(EntityEventReport)
AbpDbContext<IdentityDbContext>.SaveChangesOnDbContextAsync(bool, CancellationToken)
AbpDbContext<IdentityDbContext>.Initialize(AbpEfCoreDbContextInitializationContext)
AbpDbContext<IdentityDbContext>.ChangeTracker_Tracked(object, EntityTrackedEventArgs)
AbpDbContext<IdentityDbContext>.ChangeTracker_StateChanged(object, EntityStateChangedEventArgs)
AbpDbContext<IdentityDbContext>.FillExtraPropertiesForTrackedEntities(EntityTrackedEventArgs)
AbpDbContext<IdentityDbContext>.PublishEventsForTrackedEntity(EntityEntry)
AbpDbContext<IdentityDbContext>.HandlePropertiesBeforeSave()
AbpDbContext<IdentityDbContext>.CreateEventReport()
AbpDbContext<IdentityDbContext>.HandleExtraPropertiesOnSave(EntityEntry)
AbpDbContext<IdentityDbContext>.ApplyAbpConceptsForAddedEntity(EntityEntry)
AbpDbContext<IdentityDbContext>.ApplyAbpConceptsForModifiedEntity(EntityEntry, bool)
AbpDbContext<IdentityDbContext>.ApplyAbpConceptsForDeletedEntity(EntityEntry)
AbpDbContext<IdentityDbContext>.IsHardDeleted(EntityEntry)
AbpDbContext<IdentityDbContext>.UpdateConcurrencyStamp(EntityEntry)
AbpDbContext<IdentityDbContext>.SetConcurrencyStampIfNull(EntityEntry)
AbpDbContext<IdentityDbContext>.CheckAndSetId(EntityEntry)
AbpDbContext<IdentityDbContext>.TrySetGuidId(EntityEntry, IEntity<Guid>)
AbpDbContext<IdentityDbContext>.SetCreationAuditProperties(EntityEntry)
AbpDbContext<IdentityDbContext>.SetModificationAuditProperties(EntityEntry)
AbpDbContext<IdentityDbContext>.SetDeletionAuditProperties(EntityEntry)
AbpDbContext<IdentityDbContext>.IncrementEntityVersionProperty(EntityEntry)
AbpDbContext<IdentityDbContext>.ConfigureBaseProperties<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<IdentityDbContext>.ConfigureGlobalFilters<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<IdentityDbContext>.ConfigureValueConverter<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<IdentityDbContext>.ConfigureValueGenerated<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<IdentityDbContext>.ShouldFilterEntity<TEntity>(IMutableEntityType)
AbpDbContext<IdentityDbContext>.CreateFilterExpression<TEntity>(ModelBuilder)
AbpDbContext<IdentityDbContext>.UseDbFunction()
AbpDbContext<IdentityDbContext>.GetCompiledQueryCacheKey()
AbpDbContext<IdentityDbContext>.LazyServiceProvider
AbpDbContext<IdentityDbContext>.CurrentTenantId
AbpDbContext<IdentityDbContext>.IsMultiTenantFilterEnabled
AbpDbContext<IdentityDbContext>.IsSoftDeleteFilterEnabled
AbpDbContext<IdentityDbContext>.CurrentTenant
AbpDbContext<IdentityDbContext>.GuidGenerator
AbpDbContext<IdentityDbContext>.DataFilter
AbpDbContext<IdentityDbContext>.EntityChangeEventHelper
AbpDbContext<IdentityDbContext>.EntityChangeOptions
AbpDbContext<IdentityDbContext>.AuditPropertySetter
AbpDbContext<IdentityDbContext>.EntityHistoryHelper
AbpDbContext<IdentityDbContext>.AuditingManager
AbpDbContext<IdentityDbContext>.UnitOfWorkManager
AbpDbContext<IdentityDbContext>.Clock
AbpDbContext<IdentityDbContext>.DistributedEventBus
AbpDbContext<IdentityDbContext>.LocalEventBus
AbpDbContext<IdentityDbContext>.Logger
AbpDbContext<IdentityDbContext>.AbpEfCoreNavigationHelper
AbpDbContext<IdentityDbContext>.Options
AbpDbContext<IdentityDbContext>.GlobalFilterOptions
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

IAbpEfCoreDbContext
IAbpEfCoreDbFunctionContext
ITransientDependency
IIdentityDbContext
IEfCoreDbContext
IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
IAsyncDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform