/// <summary> /// Deprecated Method for adding a new object to the Timmings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimmings(Timming timming) { base.AddObject("Timmings", timming); }
/// <summary> /// Create a new Timming object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="dayOfWeek">Initial value of the DayOfWeek property.</param> /// <param name="from">Initial value of the From property.</param> /// <param name="to">Initial value of the To property.</param> /// <param name="daysId">Initial value of the DaysId property.</param> public static Timming CreateTimming(global::System.Int32 id, global::System.Int32 dayOfWeek, global::System.DateTime from, global::System.DateTime to, global::System.Int32 daysId) { Timming timming = new Timming(); timming.Id = id; timming.DayOfWeek = dayOfWeek; timming.From = from; timming.To = to; timming.DaysId = daysId; return timming; }