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