/// <summary> /// Deprecated Method for adding a new object to the OperatingHours EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOperatingHours(OperatingHour operatingHour) { base.AddObject("OperatingHours", operatingHour); }
/// <summary> /// Create a new OperatingHour object. /// </summary> /// <param name="weekDay">Initial value of the WeekDay property.</param> /// <param name="locaitonID">Initial value of the LocaitonID property.</param> public static OperatingHour CreateOperatingHour(global::System.Int32 weekDay, global::System.Int32 locaitonID) { OperatingHour operatingHour = new OperatingHour(); operatingHour.WeekDay = weekDay; operatingHour.LocaitonID = locaitonID; return operatingHour; }