/// <summary> /// Deprecated Method for adding a new object to the Working_Hours EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorking_Hours(Working_Hours working_Hours) { base.AddObject("Working_Hours", working_Hours); }
/// <summary> /// Create a new Working_Hours object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="day">Initial value of the Day property.</param> /// <param name="section_Id">Initial value of the Section_Id property.</param> /// <param name="period_Id">Initial value of the Period_Id property.</param> public static Working_Hours CreateWorking_Hours(global::System.Int32 id, global::System.Byte day, global::System.Int32 section_Id, global::System.Int32 period_Id) { Working_Hours working_Hours = new Working_Hours(); working_Hours.Id = id; working_Hours.Day = day; working_Hours.Section_Id = section_Id; working_Hours.Period_Id = period_Id; return working_Hours; }