/// <summary>
 /// Create a new department object.
 /// </summary>
 /// <param name="dept_no">Initial value of the dept_no property.</param>
 /// <param name="dept_name">Initial value of the dept_name property.</param>
 public static department Createdepartment(global::System.String dept_no, global::System.String dept_name)
 {
     department department = new department();
     department.dept_no = dept_no;
     department.dept_name = dept_name;
     return department;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the departments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodepartments(department department)
 {
     base.AddObject("departments", department);
 }