Property | Type | Description | |
---|---|---|---|
address | String | ||
city | String | ||
company | String | ||
country | String | ||
createdat | System.DateTime | ||
department | String | ||
String | |||
fax | int? | ||
modifiedat | System.DateTime | ||
name | String | ||
phone | int? | ||
postcode | int? | ||
sessionid | int | ||
state | String | ||
title | String | ||
userid | int | ||
userweight | int? |
Method | Description | |
---|---|---|
AssignedList ( int sessionid ) : bool | ||
createParticipant ( int userid, int sessionid ) : void |
Create Participant and try to migrate some details from user table.
|
|
createParticipantsFromCollection ( System.Web.Mvc.FormCollection collection ) : void |
Seperates and creates participants based on a collection of values collected from the Modify.aspx page.
|
|
deleteParticipant ( int userid, int sessionid ) : void |
Removes participant allocation from database
|
|
displayParticipants ( int sessionID ) : List |
Returns a list of participants for a given session.
|
|
displayUnassignedParticipants ( int sessionid ) : List |
Returns a list of unassigned participants for a given session.
|
|
editParticipant ( int userid, int sessionid, int userweight, String name, String address, String city, int postcode, String state, String country, String department, String company, String email, int fax, int phone, String title ) : void | ||
editParticipantDataFromCollection ( System.Web.Mvc.FormCollection collection ) : void | ||
getCity ( ) : List |
||
getCountries ( ) : List |
||
getMaxDataID ( ) : int | ||
getMaxParticipantID ( ) : int | ||
getPostcode ( ) : List |
||
getState ( ) : List |
||
getStreet ( ) : List |
||
participantModel ( ) : System |
Empty constructor to call methods
|
|
participantModel ( int userid, int sessionid, System.DateTime createdat, System.DateTime modifiedat, int userweight, String name, String address, String city, int postcode, String state, String country, String department, String company, String email, int fax, int phone, String title ) : System |
Method | Description | |
---|---|---|
nullCheck ( String s ) : String |
Returns null if the string is Empty
|
public createParticipant ( int userid, int sessionid ) : void | ||
userid | int | |
sessionid | int | |
return | void |
public createParticipantsFromCollection ( System.Web.Mvc.FormCollection collection ) : void | ||
collection | System.Web.Mvc.FormCollection | Collection of userid values and sessionid. |
return | void |
public deleteParticipant ( int userid, int sessionid ) : void | ||
userid | int | userid of participant to remove |
sessionid | int | removes participant from particular allocation |
return | void |
public displayParticipants ( int sessionID ) : List |
||
sessionID | int | Session to get participants for |
return | List |
public displayUnassignedParticipants ( int sessionid ) : List |
||
sessionid | int | |
return | List |
public editParticipant ( int userid, int sessionid, int userweight, String name, String address, String city, int postcode, String state, String country, String department, String company, String email, int fax, int phone, String title ) : void | ||
userid | int | |
sessionid | int | |
userweight | int | |
name | String | |
address | String | |
city | String | |
postcode | int | |
state | String | |
country | String | |
department | String | |
company | String | |
String | ||
fax | int | |
phone | int | |
title | String | |
return | void |
public editParticipantDataFromCollection ( System.Web.Mvc.FormCollection collection ) : void | ||
collection | System.Web.Mvc.FormCollection | |
return | void |
public participantModel ( int userid, int sessionid, System.DateTime createdat, System.DateTime modifiedat, int userweight, String name, String address, String city, int postcode, String state, String country, String department, String company, String email, int fax, int phone, String title ) : System | ||
userid | int | |
sessionid | int | |
createdat | System.DateTime | |
modifiedat | System.DateTime | |
userweight | int | |
name | String | |
address | String | |
city | String | |
postcode | int | |
state | String | |
country | String | |
department | String | |
company | String | |
String | ||
fax | int | |
phone | int | |
title | String | |
return | System |