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