Question : linq to sql how to model claases

I am using linq to sql to build questionnaire app.  
I want to build structure the classes in a logical way.
So I will have questionnaire class and question class and so on

My question is this;  what properties and methods will I need on each class?

So say I want to create a new questionnaire full of questions willl I have a questionnaire class that then links to the question class?

So  like

questionnnaire.AddNewQuestion("text");

Below is the database schema

tblQuestionnaire
questionnaireID
title

tblQuestions
questionID
questionnaireID
questionDescription

tblQuestionChoices  (muliple choice)
choiceID
questionID
questionText

tblQuestionResponses
responseID
userID
choiceID

tblUser
userid
etc

Answer : linq to sql how to model claases

You do have the exact question open here:

http://www.experts-exchange.com/Programming/Languages/.NET/LINQ/Q_26339283.html

Why duplicate it?

I've provided my input, please check the original question. You can request this question to be closed and your points refunded.

Arun
Random Solutions  
 
programming4us programming4us