/// <summary> /// Deprecated Method for adding a new object to the tblDeliveryTime EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblDeliveryTime(tblDeliveryTime tblDeliveryTime) { base.AddObject("tblDeliveryTime", tblDeliveryTime); }
/// <summary> /// Create a new tblDeliveryTime object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="dayNumberOfWeek">Initial value of the DayNumberOfWeek property.</param> /// <param name="time">Initial value of the Time property.</param> /// <param name="createdat">Initial value of the Createdat property.</param> public static tblDeliveryTime CreatetblDeliveryTime(global::System.Int32 id, global::System.Int32 dayNumberOfWeek, global::System.TimeSpan time, global::System.DateTime createdat) { tblDeliveryTime tblDeliveryTime = new tblDeliveryTime(); tblDeliveryTime.Id = id; tblDeliveryTime.DayNumberOfWeek = dayNumberOfWeek; tblDeliveryTime.Time = time; tblDeliveryTime.Createdat = createdat; return tblDeliveryTime; }