Пример #1
0
 public Club_Athlete(Club club,Athlete athlete)
 {
     ClubID = club.ClubID;
     AthleteID = athlete.AthleteID;
     DateJoined = DateTime.Now.Date;
     IsaMember = true;
 }
Пример #2
0
 public Event_Registration(Event_Route route,Athlete athlete)
 {
     DateRegistered = DateTime.Now;
     SelectedRoute = route.RouteID;
     EventID = route.EventID;
     AthleteID = athlete.AthleteID;
     Arrived = false;
     Deleted = false;
 }
Пример #3
0
 public Run(DateTime start, DateTime end, string caloriesBurnt, Route route, Athlete athlete)
 {
     StartTime = start;
     EndTime = end;
     CaloriesBurnt = caloriesBurnt;
     DateRecorded = DateTime.Now;
     RouteID = route.RouteID;
     AthleteID = athlete.AthleteID;
     Deleted = false;
 }
Пример #4
0
 public Run(DateTime start,DateTime end,string caloriesBurnt,Event evnt,Athlete athlete)
 {
     StartTime = start;
     EndTime = end;
     CaloriesBurnt = caloriesBurnt;
     DateRecorded = DateTime.Now;
     EventID = evnt.EventID;
     AthleteID = athlete.AthleteID;
     Deleted = false;
 }