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