/// <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); }
/// <summary> /// Create a new reminder object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="personId">Initial value of the PersonId property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> public static reminder Createreminder(global::System.Int64 id, global::System.Int64 personId, global::System.String subject, global::System.String text, global::System.DateTime date, global::System.DateTime endDate) { reminder reminder = new reminder(); reminder.Id = id; reminder.PersonId = personId; reminder.Subject = subject; reminder.Text = text; reminder.Date = date; reminder.EndDate = endDate; return reminder; }