C# Class ITimeU.Models.RaceModel

Show file Open project: heinek/ITimeU Class Usage Examples

Private Properties

Property Type Description
TryToGetById RaceModel

Public Methods

Method Description
Delete ( ) : void
GetAthletes ( ) : List
GetAthletesNotConnected ( int classId ) : List
GetById ( int idToGet ) : RaceModel
GetRace ( int id ) : Race
GetRaces ( ) : List
GetRaces ( int eventId ) : List
GetTimerId ( ) : int?
HasTimer ( ) : bool
RaceModel ( ) : System
RaceModel ( Race raceDb ) : System
RaceModel ( string name, System.DateTime startDate ) : System
Save ( ) : bool
UpdateRaceDate ( System.DateTime date ) : void
UpdateRaceDistance ( int distance ) : void
UpdateRaceName ( string name ) : void

Private Methods

Method Description
TryToGetById ( int idToGet, Entities entities ) : RaceModel

Method Details

Delete() public method

public Delete ( ) : void
return void

GetAthletes() public method

public GetAthletes ( ) : List
return List

GetAthletesNotConnected() public method

public GetAthletesNotConnected ( int classId ) : List
classId int
return List

GetById() public static method

public static GetById ( int idToGet ) : RaceModel
idToGet int
return RaceModel

GetRace() public static method

public static GetRace ( int id ) : Race
id int
return Race

GetRaces() public static method

public static GetRaces ( ) : List
return List

GetRaces() public static method

public static GetRaces ( int eventId ) : List
eventId int
return List

GetTimerId() public method

public GetTimerId ( ) : int?
return int?

HasTimer() public method

public HasTimer ( ) : bool
return bool

RaceModel() public method

public RaceModel ( ) : System
return System

RaceModel() public method

public RaceModel ( Race raceDb ) : System
raceDb Race
return System

RaceModel() public method

public RaceModel ( string name, System.DateTime startDate ) : System
name string
startDate System.DateTime
return System

Save() public method

public Save ( ) : bool
return bool

UpdateRaceDate() public method

public UpdateRaceDate ( System.DateTime date ) : void
date System.DateTime
return void

UpdateRaceDistance() public method

public UpdateRaceDistance ( int distance ) : void
distance int
return void

UpdateRaceName() public method

public UpdateRaceName ( string name ) : void
name string
return void