Class TenantManagementDbContext
Implements
ITransientDependency
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
Inherited Members
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.TenantManagement.EntityFrameworkCore.TenantManagementDbContext>.CombineExpressions<T>(Expression<>, Expression<>)
Namespace: Volo.Abp.TenantManagement.EntityFrameworkCore
Assembly: Volo.Abp.TenantManagement.EntityFrameworkCore.dll
Syntax
public class TenantManagementDbContext : AbpDbContext<TenantManagementDbContext>, IAbpEfCoreDbContext, ITransientDependency, ITenantManagementDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable
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 |
Implements
ITransientDependency
IDisposable
IInfrastructure<>
IDbContextDependencies
IDbSetCache
IDbContextPoolable