Show / Hide Table of Contents

Class TenantManagementDbContext

Inheritance
object
AbpDbContext<TenantManagementDbContext>
TenantManagementDbContext
Implements
IAbpEfCoreDbContext
IAbpEfCoreDbFunctionContext
ITransientDependency
ITenantManagementDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
IAsyncDisposable
Inherited Members
AbpDbContext<TenantManagementDbContext>.DbContextOptions
AbpDbContext<TenantManagementDbContext>.OnConfiguring(DbContextOptionsBuilder)
AbpDbContext<TenantManagementDbContext>.ConfigureConventions(ModelConfigurationBuilder)
AbpDbContext<TenantManagementDbContext>.TrySetDatabaseProvider(ModelBuilder)
AbpDbContext<TenantManagementDbContext>.GetDatabaseProviderOrNull(ModelBuilder)
AbpDbContext<TenantManagementDbContext>.SaveChangesAsync(bool, CancellationToken)
AbpDbContext<TenantManagementDbContext>.PublishEntityEvents(EntityEventReport)
AbpDbContext<TenantManagementDbContext>.SaveChangesOnDbContextAsync(bool, CancellationToken)
AbpDbContext<TenantManagementDbContext>.Initialize(AbpEfCoreDbContextInitializationContext)
AbpDbContext<TenantManagementDbContext>.ChangeTracker_Tracked(object, EntityTrackedEventArgs)
AbpDbContext<TenantManagementDbContext>.ChangeTracker_StateChanged(object, EntityStateChangedEventArgs)
AbpDbContext<TenantManagementDbContext>.FillExtraPropertiesForTrackedEntities(EntityTrackedEventArgs)
AbpDbContext<TenantManagementDbContext>.PublishEventsForTrackedEntity(EntityEntry)
AbpDbContext<TenantManagementDbContext>.HandlePropertiesBeforeSave()
AbpDbContext<TenantManagementDbContext>.CreateEventReport()
AbpDbContext<TenantManagementDbContext>.HandleExtraPropertiesOnSave(EntityEntry)
AbpDbContext<TenantManagementDbContext>.ApplyAbpConceptsForAddedEntity(EntityEntry)
AbpDbContext<TenantManagementDbContext>.ApplyAbpConceptsForModifiedEntity(EntityEntry, bool)
AbpDbContext<TenantManagementDbContext>.ApplyAbpConceptsForDeletedEntity(EntityEntry)
AbpDbContext<TenantManagementDbContext>.IsHardDeleted(EntityEntry)
AbpDbContext<TenantManagementDbContext>.UpdateConcurrencyStamp(EntityEntry)
AbpDbContext<TenantManagementDbContext>.SetConcurrencyStampIfNull(EntityEntry)
AbpDbContext<TenantManagementDbContext>.CheckAndSetId(EntityEntry)
AbpDbContext<TenantManagementDbContext>.TrySetGuidId(EntityEntry, IEntity<Guid>)
AbpDbContext<TenantManagementDbContext>.SetCreationAuditProperties(EntityEntry)
AbpDbContext<TenantManagementDbContext>.SetModificationAuditProperties(EntityEntry)
AbpDbContext<TenantManagementDbContext>.SetDeletionAuditProperties(EntityEntry)
AbpDbContext<TenantManagementDbContext>.IncrementEntityVersionProperty(EntityEntry)
AbpDbContext<TenantManagementDbContext>.ConfigureBaseProperties<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TenantManagementDbContext>.ConfigureGlobalFilters<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TenantManagementDbContext>.ConfigureValueConverter<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TenantManagementDbContext>.ConfigureValueGenerated<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TenantManagementDbContext>.ShouldFilterEntity<TEntity>(IMutableEntityType)
AbpDbContext<TenantManagementDbContext>.CreateFilterExpression<TEntity>(ModelBuilder)
AbpDbContext<TenantManagementDbContext>.UseDbFunction()
AbpDbContext<TenantManagementDbContext>.GetCompiledQueryCacheKey()
AbpDbContext<TenantManagementDbContext>.LazyServiceProvider
AbpDbContext<TenantManagementDbContext>.CurrentTenantId
AbpDbContext<TenantManagementDbContext>.IsMultiTenantFilterEnabled
AbpDbContext<TenantManagementDbContext>.IsSoftDeleteFilterEnabled
AbpDbContext<TenantManagementDbContext>.CurrentTenant
AbpDbContext<TenantManagementDbContext>.GuidGenerator
AbpDbContext<TenantManagementDbContext>.DataFilter
AbpDbContext<TenantManagementDbContext>.EntityChangeEventHelper
AbpDbContext<TenantManagementDbContext>.EntityChangeOptions
AbpDbContext<TenantManagementDbContext>.AuditPropertySetter
AbpDbContext<TenantManagementDbContext>.EntityHistoryHelper
AbpDbContext<TenantManagementDbContext>.AuditingManager
AbpDbContext<TenantManagementDbContext>.UnitOfWorkManager
AbpDbContext<TenantManagementDbContext>.Clock
AbpDbContext<TenantManagementDbContext>.DistributedEventBus
AbpDbContext<TenantManagementDbContext>.LocalEventBus
AbpDbContext<TenantManagementDbContext>.Logger
AbpDbContext<TenantManagementDbContext>.AbpEfCoreNavigationHelper
AbpDbContext<TenantManagementDbContext>.Options
AbpDbContext<TenantManagementDbContext>.GlobalFilterOptions
Namespace: Volo.Abp.TenantManagement.EntityFrameworkCore
Assembly: Volo.Abp.TenantManagement.EntityFrameworkCore.dll
Syntax
[IgnoreMultiTenancy]
[ConnectionStringName("AbpTenantManagement")]
public class TenantManagementDbContext : AbpDbContext<TenantManagementDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, ITenantManagementDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable

Constructors

TenantManagementDbContext(DbContextOptions<TenantManagementDbContext>)

Declaration
public TenantManagementDbContext(DbContextOptions<TenantManagementDbContext> options)
Parameters
Type Name Description
DbContextOptions<TenantManagementDbContext> options

Properties

TenantConnectionStrings

Declaration
public DbSet<TenantConnectionString> TenantConnectionStrings { get; set; }
Property Value
Type Description
DbSet<TenantConnectionString>

Tenants

Declaration
public DbSet<Tenant> Tenants { get; set; }
Property Value
Type Description
DbSet<Tenant>

Methods

OnModelCreating(ModelBuilder)

Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type Name Description
ModelBuilder builder
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.TenantManagement.EntityFrameworkCore.TenantManagementDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)

Implements

IAbpEfCoreDbContext
IAbpEfCoreDbFunctionContext
ITransientDependency
ITenantManagementDbContext
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