Class FormsDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: Volo.Forms.EntityFrameworkCore
Assembly: Volo.Forms.EntityFrameworkCore.dll
Syntax
[ConnectionStringName("Forms")]
public class FormsDbContext : AbpDbContext<FormsDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, IFormsDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable
Constructors
FormsDbContext(DbContextOptions<FormsDbContext>)
Declaration
public FormsDbContext(DbContextOptions<FormsDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<FormsDbContext> | options |
Properties
Answers
Declaration
public virtual DbSet<Answer> Answers { get; set; }
Property Value
Type | Description |
---|---|
DbSet<Answer> |
Checkboxes
Declaration
public virtual DbSet<Checkbox> Checkboxes { get; set; }
Property Value
Type | Description |
---|---|
DbSet<Checkbox> |
ChoiceMultiples
Declaration
public virtual DbSet<ChoiceMultiple> ChoiceMultiples { get; set; }
Property Value
Type | Description |
---|---|
DbSet<ChoiceMultiple> |
Choices
Declaration
public virtual DbSet<Choice> Choices { get; set; }
Property Value
Type | Description |
---|---|
DbSet<Choice> |
DropdownLists
Declaration
public virtual DbSet<DropdownList> DropdownLists { get; set; }
Property Value
Type | Description |
---|---|
DbSet<DropdownList> |
FormResponses
Declaration
public virtual DbSet<FormResponse> FormResponses { get; set; }
Property Value
Type | Description |
---|---|
DbSet<FormResponse> |
Forms
Declaration
public virtual DbSet<Form> Forms { get; set; }
Property Value
Type | Description |
---|---|
DbSet<Form> |
Questions
Declaration
public virtual DbSet<QuestionBase> Questions { get; set; }
Property Value
Type | Description |
---|---|
DbSet<QuestionBase> |
ShortTexts
Declaration
public virtual DbSet<ShortText> ShortTexts { get; set; }
Property Value
Type | Description |
---|---|
DbSet<ShortText> |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | builder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Forms.EntityFrameworkCore.FormsDbContext>.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