/// <summary> /// Create a new DeptTimeline object. /// </summary> /// <param name="departmentId">Initial value of DepartmentId.</param> /// <param name="period">Initial value of Period.</param> /// <param name="workingDay">Initial value of WorkingDay.</param> public static DeptTimeline CreateDeptTimeline(long departmentId, long period, global::System.DateTime workingDay) { DeptTimeline deptTimeline = new DeptTimeline(); deptTimeline.DepartmentId = departmentId; deptTimeline.Period = period; deptTimeline.WorkingDay = workingDay; return deptTimeline; }
/// <summary> /// Deprecated Method for adding a new object to the DeptTimelines EntitySet. /// </summary> public void AddToDeptTimelines(DeptTimeline deptTimeline) { base.AddObject("DeptTimelines", deptTimeline); }