Property | Type | Description | |
---|---|---|---|
ansnum | int | ||
answer | String | ||
answerid | int | ||
correct | int | ||
createdat | System.DateTime | ||
modifiedat | System.DateTime | ||
questionid | int | ||
updatedto | int | ||
weight | int |
Method | Description | |
---|---|---|
answerModel ( ) : System | ||
answerModel ( int answerid ) : System | ||
answerModel ( int answerid, String answer, int correct, int weight, System.DateTime createdat, System.DateTime modifiedat, int questionid ) : System |
Full Constructor for answerModel
|
|
answerModel ( int answerid, String answer, int correct, int weight, System.DateTime createdat, int questionid ) : System |
Constructor for 5 Argument answer
|
|
answerModel ( int answerid, String answer, int correct, int weight, int ansnum, int updatedto, System.DateTime createdat ) : System | ||
answerModel ( int answerid, int ansnum, String answer ) : System | ||
answerModel ( int answerid, string ansnum, String answer, String correct, String weight, String updatedto, System.DateTime createdat ) : System | ||
createAnswer ( String answer, int correct, int weight, int ansnum, int qid ) : void | ||
deleteAnswer ( ) : void | ||
displayAnswers ( int questId ) : List |
Retrieves ANSWERS relating to a specified Question
|
|
getAnswer ( int answerid ) : |
Rereives detailes about a specific answer
|
|
getFeedback ( int answerid ) : String | ||
getMaxID ( ) : int | ||
getPollAnswers ( int pollid ) : List |
||
updateAnswer ( int answerid, String answer, int correct, int weight, int ansnum ) : void |
public answerModel ( int answerid, String answer, int correct, int weight, System.DateTime createdat, System.DateTime modifiedat, int questionid ) : System | ||
answerid | int | |
answer | String | |
correct | int | |
weight | int | |
createdat | System.DateTime | |
modifiedat | System.DateTime | |
questionid | int | |
return | System |
public answerModel ( int answerid, String answer, int correct, int weight, System.DateTime createdat, int questionid ) : System | ||
answerid | int | |
answer | String | |
correct | int | |
weight | int | |
createdat | System.DateTime | |
questionid | int | |
return | System |
public answerModel ( int answerid, String answer, int correct, int weight, int ansnum, int updatedto, System.DateTime createdat ) : System | ||
answerid | int | |
answer | String | |
correct | int | |
weight | int | |
ansnum | int | |
updatedto | int | |
createdat | System.DateTime | |
return | System |
public answerModel ( int answerid, int ansnum, String answer ) : System | ||
answerid | int | |
ansnum | int | |
answer | String | |
return | System |
public answerModel ( int answerid, string ansnum, String answer, String correct, String weight, String updatedto, System.DateTime createdat ) : System | ||
answerid | int | |
ansnum | string | |
answer | String | |
correct | String | |
weight | String | |
updatedto | String | |
createdat | System.DateTime | |
return | System |
public createAnswer ( String answer, int correct, int weight, int ansnum, int qid ) : void | ||
answer | String | |
correct | int | |
weight | int | |
ansnum | int | |
qid | int | |
return | void |
public displayAnswers ( int questId ) : List |
||
questId | int | ID of the question |
return | List |
public getAnswer ( int answerid ) : |
||
answerid | int | ID of the requested answer |
return |
public updateAnswer ( int answerid, String answer, int correct, int weight, int ansnum ) : void | ||
answerid | int | |
answer | String | |
correct | int | |
weight | int | |
ansnum | int | |
return | void |