Show / Hide Table of Contents

Class FormsDbContext

Inheritance
object
FormsDbContext
Implements
IFormsDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
IAsyncDisposable
Namespace: Volo.Forms.EntityFrameworkCore
Assembly: Volo.Forms.EntityFrameworkCore.dll
Syntax
public class FormsDbContext : AbpDbContext<FormsDbContext>, 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

Implements

IFormsDbContext
Volo.Abp.EntityFrameworkCore.IEfCoreDbContext
IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
IAsyncDisposable
In this article
Back to top Powered by Volosoft