Class DemoAppDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: Volo.Saas.DemoApp
Assembly: Volo.Saas.DemoApp.dll
Syntax
public class DemoAppDbContext : AbpDbContext<DemoAppDbContext>, IAbpEfCoreDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable, IAbpEfCoreDbFunctionContext, ITransientDependency
Constructors
DemoAppDbContext(DbContextOptions<DemoAppDbContext>)
Declaration
public DemoAppDbContext(DbContextOptions<DemoAppDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<DemoAppDbContext> | options |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | modelBuilder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Saas.DemoApp.DemoAppDbContext>.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