/// <summary> /// Create a new Reminder object. /// </summary> /// <param name="reminderID">Initial value of the ReminderID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static Reminder CreateReminder(global::System.Int32 reminderID, global::System.Boolean isActive) { Reminder reminder = new Reminder(); reminder.ReminderID = reminderID; reminder.IsActive = isActive; return reminder; }
/// <summary> /// Deprecated Method for adding a new object to the Reminders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReminders(Reminder reminder) { base.AddObject("Reminders", reminder); }