/// <summary> /// Create a new HourLog object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="employeeId">Initial value of the EmployeeId property.</param> /// <param name="updatedAt">Initial value of the UpdatedAt property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="startHour">Initial value of the StartHour property.</param> /// <param name="endHour">Initial value of the EndHour property.</param> public static HourLog CreateHourLog(global::System.Int32 id, global::System.Int32 employeeId, global::System.DateTime updatedAt, global::System.DateTime date, global::System.Decimal startHour, global::System.Decimal endHour) { HourLog hourLog = new HourLog(); hourLog.Id = id; hourLog.EmployeeId = employeeId; hourLog.UpdatedAt = updatedAt; hourLog.Date = date; hourLog.StartHour = startHour; hourLog.EndHour = endHour; return hourLog; }
/// <summary> /// Deprecated Method for adding a new object to the HourLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHourLogs(HourLog hourLog) { base.AddObject("HourLogs", hourLog); }