added more question variants
This commit is contained in:
parent
8959c3d984
commit
cce3ea2645
6 changed files with 34 additions and 1 deletions
|
|
@ -6,12 +6,16 @@ namespace SurveyLib.Infrastructure.EFCore.Data;
|
|||
public class SurveyDbContext : DbContext
|
||||
{
|
||||
public DbSet<Survey> Surveys { get; set; }
|
||||
|
||||
public DbSet<QuestionBase> Questions { get; set; }
|
||||
public DbSet<SingleAnswerQuestion> SingleAnswerQuestions { get; set; }
|
||||
public DbSet<MultipleAnswerQuestion> MultipleAnswerQuestions { get; set; }
|
||||
public DbSet<TextQuestion> TextQuestions { get; set; }
|
||||
|
||||
public DbSet<Completion> Completions { get; set; }
|
||||
public DbSet<Answer> Answers { get; set; }
|
||||
|
||||
public SurveyDbContext(DbContextOptions<SurveyDbContext> options) : base(options)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue