private void InsertTestHealthHistory(Athlete athlete, int noOfInstances)
 {
     for (var i = 0; i < noOfInstances; i++)
     {
         var athleteHealth =
             new AthleteHealth {Athlete = athlete};
         MemoryDataContext.Add(athleteHealth);
     }
 }
Exemple #2
0
 internal bool HasSameHealthDataAs(AthleteHealth other)
 {
     return Arm.Equals(other.Arm) &&
            MaximumHeartRate.Equals(other.MaximumHeartRate) &&
            RestingHeartRate.Equals(other.RestingHeartRate) &&
            Thigh.Equals(other.Thigh) &&
            ThresholdHeartRate.Equals(other.ThresholdHeartRate) &&
            Waist.Equals(other.Waist) &&
            Weight.Equals(other.Weight);
 }
Exemple #3
0
 partial void UpdateAthleteHealth(AthleteHealth instance);
Exemple #4
0
 partial void DeleteAthleteHealth(AthleteHealth instance);
Exemple #5
0
 partial void InsertAthleteHealth(AthleteHealth instance);