An exercise performed by a person. More...
Public Member Functions | |
Exercise (SportsActivity activity, TimeSpan duration, Person performedBy, DateTime performedDate) | |
void | Save () |
Saves changes to the database. | |
void | Delete () |
Permanently deletes the exercise. | |
Static Public Member Functions | |
static IEnumerable< Exercise > | ListExercises () |
Properties | |
SportsActivity | Activity [get, set] |
The sports activity performed. | |
TimeSpan | Duration [get, set] |
The duration of the exercise. | |
DateTime | PerformedDate [get, set] |
The date for when the exercise was performed. | |
Person | PerformedBy [get, set] |
The person who performed the exercise. | |
Private Member Functions | |
internal | Exercise (ExerciseRow row) |
Private Attributes | |
ExerciseRow | row |
bool | modified = true |
SportsActivity | activity |
An exercise performed by a person.
Definition at line 11 of file Exercise.cs.
Foodolini.BusinessLogic.Exercise.Exercise | ( | SportsActivity | activity, | |
TimeSpan | duration, | |||
Person | performedBy, | |||
DateTime | performedDate | |||
) |
Definition at line 16 of file Exercise.cs.
internal Foodolini.BusinessLogic.Exercise.Exercise | ( | ExerciseRow | row | ) | [private] |
Definition at line 25 of file Exercise.cs.
void Foodolini.BusinessLogic.Exercise.Delete | ( | ) |
Permanently deletes the exercise.
Definition at line 115 of file Exercise.cs.
static IEnumerable<Exercise> Foodolini.BusinessLogic.Exercise.ListExercises | ( | ) | [static] |
Definition at line 123 of file Exercise.cs.
void Foodolini.BusinessLogic.Exercise.Save | ( | ) |
Saves changes to the database.
Definition at line 94 of file Exercise.cs.
Definition at line 30 of file Exercise.cs.
bool Foodolini.BusinessLogic.Exercise.modified = true [private] |
Definition at line 14 of file Exercise.cs.
Definition at line 13 of file Exercise.cs.
SportsActivity Foodolini.BusinessLogic.Exercise.Activity [get, set] |
The sports activity performed.
Definition at line 36 of file Exercise.cs.
TimeSpan Foodolini.BusinessLogic.Exercise.Duration [get, set] |
The duration of the exercise.
Definition at line 57 of file Exercise.cs.
Person Foodolini.BusinessLogic.Exercise.PerformedBy [get, set] |
The person who performed the exercise.
Definition at line 81 of file Exercise.cs.
DateTime Foodolini.BusinessLogic.Exercise.PerformedDate [get, set] |
The date for when the exercise was performed.
Definition at line 69 of file Exercise.cs.