/// <summary> /// Create a new BloodPressureEntry object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="systolic">Initial value of the Systolic property.</param> /// <param name="diastolic">Initial value of the Diastolic property.</param> /// <param name="hearttRate">Initial value of the HearttRate property.</param> /// <param name="entryDate">Initial value of the EntryDate property.</param> /// <param name="savedDate">Initial value of the SavedDate property.</param> public static BloodPressureEntry CreateBloodPressureEntry(global::System.Int32 id, global::System.Guid userId, global::System.Int32 systolic, global::System.Int32 diastolic, global::System.Int32 hearttRate, global::System.DateTime entryDate, global::System.DateTime savedDate) { BloodPressureEntry bloodPressureEntry = new BloodPressureEntry(); bloodPressureEntry.Id = id; bloodPressureEntry.UserId = userId; bloodPressureEntry.Systolic = systolic; bloodPressureEntry.Diastolic = diastolic; bloodPressureEntry.HearttRate = hearttRate; bloodPressureEntry.EntryDate = entryDate; bloodPressureEntry.SavedDate = savedDate; return bloodPressureEntry; }
/// <summary> /// Deprecated Method for adding a new object to the BloodPressureEntries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBloodPressureEntries(BloodPressureEntry bloodPressureEntry) { base.AddObject("BloodPressureEntries", bloodPressureEntry); }