/// <summary> /// Create a new ActiveDept object. /// </summary> /// <param name="departmentId">Initial value of DepartmentId.</param> public static ActiveDept CreateActiveDept(long departmentId) { ActiveDept activeDept = new ActiveDept(); activeDept.DepartmentId = departmentId; return activeDept; }
/// <summary> /// Deprecated Method for adding a new object to the ActiveDepts EntitySet. /// </summary> public void AddToActiveDepts(ActiveDept activeDept) { base.AddObject("ActiveDepts", activeDept); }