Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Best practices for database design for a checklist?

$
0
0

Hey all

I'm learning to develop using .NET Core and Angular, and am developing a WebApp to do this.  I'm trying to figure out what the best would to build a database is for a specific portion of the project. This is a checklists module that will allow users to create checklists with customized questions that they would be able to pull up and answer as they complete each item.  An example of what I'm looking to do is as follows: 

  • A user can create a checklist that has as many questions as they would like to create.  
  • The user can then pull that checklist up and provide the answers to each question.  
  • Answers will be either a string, boolean, checkbox options, image or various other types of input the user chooses when creating the checklist.

Knowing that one user may create 3 questions, and another may create 50 questions, what is the best way to design the table for this to store each question?  Would this be a table dedicated to just the name of the checklist, and then another with the list of questions and answers tied together via a join or one to many table?  What is the best practice for this?  

Any input would be greatly appreciated!


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>