Property | Type | Description | |
---|---|---|---|
CreateDbEntity | int | ||
SetDefaultId | void | ||
TryToGetById | |||
createAthleteDbFrom | |||
updateDbEntity | void | ||
updateProperties | void |
Method | Description | |
---|---|---|
AthleteModel ( ) : System | ||
AthleteModel ( |
||
AthleteModel ( int id ) : System | ||
AthleteModel ( string firstName, string lastName ) : System | ||
AthleteModel ( string firstName, string lastName, int birthday, ClubModel club, |
||
AthleteModel ( string firstName, string lastName, string email, string address, string postalcode, string city, string gender, int birthday, string phonenumber, int startNumber, ClubModel club, |
||
ConnectToRace ( int raceId ) : void | ||
Delete ( ) : void | ||
DeleteFromDb ( ) : void |
Deletes the given athlete.
|
|
GetAll ( ) : List |
Retrieves all athletes in the database.
|
|
GetAllByClubId ( int id ) : List |
||
GetAthletes ( int clubId ) : List |
||
GetAthletesForRace ( int raceId ) : List |
||
GetById ( int idToGet ) : |
||
RemoveFromRace ( int raceid ) : void | ||
SaveToDb ( ) : void | ||
SaveToDb ( List |
Saves a list of athletes to the database.
|
|
StartnumberExistsInDb ( int startnumber ) : bool |
Startnumbers the exists in db.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
CreateDbEntity ( |
||
SetDefaultId ( ) : void | ||
TryToGetById ( int idToGet, |
||
createAthleteDbFrom ( |
||
updateDbEntity ( |
||
updateProperties ( |
public AthleteModel ( |
||
athleteDb | ||
return | System |
public AthleteModel ( string firstName, string lastName ) : System | ||
firstName | string | |
lastName | string | |
return | System |
public AthleteModel ( string firstName, string lastName, int birthday, ClubModel club, |
||
firstName | string | |
lastName | string | |
birthday | int | |
club | ClubModel | |
athleteClass | ||
startNumber | int | |
id | int | |
return | System |
public AthleteModel ( string firstName, string lastName, string email, string address, string postalcode, string city, string gender, int birthday, string phonenumber, int startNumber, ClubModel club, |
||
firstName | string | |
lastName | string | |
string | ||
address | string | |
postalcode | string | |
city | string | |
gender | string | |
birthday | int | |
phonenumber | string | |
startNumber | int | |
club | ClubModel | |
athleteClass | ||
return | System |
public static GetAthletes ( int clubId ) : List |
||
clubId | int | |
return | List |
public static GetAthletesForRace ( int raceId ) : List |
||
raceId | int | |
return | List |
public static GetById ( int idToGet ) : |
||
idToGet | int | |
return |
public static SaveToDb ( List |
||
athletes | List |
The list of athletes to save. |
return | void |
public static StartnumberExistsInDb ( int startnumber ) : bool | ||
startnumber | int | The startnumber. |
return | bool |