Exemplo n.º 1
0
 private void InsertTestHealthHistory(Athlete athlete, int noOfInstances)
 {
     for (var i = 0; i < noOfInstances; i++)
     {
         var athleteHealth =
             new AthleteHealth {Athlete = athlete};
         MemoryDataContext.Add(athleteHealth);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 partial void UpdateAthleteHealth(AthleteHealth instance);
Exemplo n.º 4
0
 partial void DeleteAthleteHealth(AthleteHealth instance);
Exemplo n.º 5
0
 partial void InsertAthleteHealth(AthleteHealth instance);