/// <summary>
 /// Create a new EmpDayoff object.
 /// </summary>
 /// <param name="employeeId">Initial value of EmployeeId.</param>
 /// <param name="dayoffTime">Initial value of DayoffTime.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 public static EmpDayoff CreateEmpDayoff(string employeeId, global::System.DateTime dayoffTime, long departmentId)
 {
     EmpDayoff empDayoff = new EmpDayoff();
     empDayoff.EmployeeId = employeeId;
     empDayoff.DayoffTime = dayoffTime;
     empDayoff.DepartmentId = departmentId;
     return empDayoff;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EmpDayoffs EntitySet.
 /// </summary>
 public void AddToEmpDayoffs(EmpDayoff empDayoff)
 {
     base.AddObject("EmpDayoffs", empDayoff);
 }