/// <summary> /// Create a new Dept object. /// </summary> /// <param name="departmentId">Initial value of DepartmentId.</param> public static Dept CreateDept(long departmentId) { Dept dept = new Dept(); dept.DepartmentId = departmentId; return dept; }
/// <summary> /// Deprecated Method for adding a new object to the Depts EntitySet. /// </summary> public void AddToDepts(Dept dept) { base.AddObject("Depts", dept); }