/// <summary> /// Create a new Recurrence object. /// </summary> /// <param name="recurringID">Initial value of the RecurringID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static Recurrence CreateRecurrence(global::System.Int32 recurringID, global::System.Boolean isActive) { Recurrence recurrence = new Recurrence(); recurrence.RecurringID = recurringID; recurrence.IsActive = isActive; return recurrence; }
/// <summary> /// Deprecated Method for adding a new object to the Recurrences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRecurrences(Recurrence recurrence) { base.AddObject("Recurrences", recurrence); }