Свойство | Тип | Описание | |
---|---|---|---|
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? |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
nullCheck ( String s ) : String |
Returns null if the string is Empty
|
public AssignedList ( int sessionid ) : bool | ||
sessionid | int | |
Результат | bool |
public createParticipant ( int userid, int sessionid ) : void | ||
userid | int | |
sessionid | int | |
Результат | void |
public createParticipantsFromCollection ( System.Web.Mvc.FormCollection collection ) : void | ||
collection | System.Web.Mvc.FormCollection | Collection of userid values and sessionid. |
Результат | void |
public deleteParticipant ( int userid, int sessionid ) : void | ||
userid | int | userid of participant to remove |
sessionid | int | removes participant from particular allocation |
Результат | void |
public displayParticipants ( int sessionID ) : List |
||
sessionID | int | Session to get participants for |
Результат | List |
public displayUnassignedParticipants ( int sessionid ) : List |
||
sessionid | int | |
Результат | 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 | |
Результат | void |
public editParticipantDataFromCollection ( System.Web.Mvc.FormCollection collection ) : void | ||
collection | System.Web.Mvc.FormCollection | |
Результат | 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 | |
Результат | System |