Class AbpAuditLoggingDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: Volo.Abp.AuditLogging.EntityFrameworkCore
Assembly: Volo.Abp.AuditLogging.EntityFrameworkCore.dll
Syntax
[ConnectionStringName("AbpAuditLogging")]
public class AbpAuditLoggingDbContext : AbpDbContext<AbpAuditLoggingDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, IAuditLoggingDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable
Constructors
AbpAuditLoggingDbContext(DbContextOptions<AbpAuditLoggingDbContext>)
Declaration
public AbpAuditLoggingDbContext(DbContextOptions<AbpAuditLoggingDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<AbpAuditLoggingDbContext> | options |
Properties
AuditLogs
Declaration
public DbSet<AuditLog> AuditLogs { get; set; }
Property Value
Type | Description |
---|---|
DbSet<AuditLog> |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | builder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext>.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