Foodolini.BusinessLogic.Exercise Class Reference

An exercise performed by a person. More...

Collaboration diagram for Foodolini.BusinessLogic.Exercise:
Collaboration graph

List of all members.

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< ExerciseListExercises ()

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

Detailed Description

An exercise performed by a person.

Definition at line 11 of file Exercise.cs.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 30 of file Exercise.cs.

Definition at line 14 of file Exercise.cs.

Definition at line 13 of file Exercise.cs.


Property Documentation

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.


The documentation for this class was generated from the following file:

Foodolini 1.0.0 Documentation, generated with DoxyGen.