示例#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);
     }
 }
示例#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);
 }
示例#3
0
 partial void UpdateAthleteHealth(AthleteHealth instance);
示例#4
0
 partial void DeleteAthleteHealth(AthleteHealth instance);
示例#5
0
 partial void InsertAthleteHealth(AthleteHealth instance);