/// <summary>
        /// Create a new TSTDepartment object.
        /// </summary>
        /// <param name="departmentID">Initial value of the DepartmentID property.</param>
        /// <param name="departmentName">Initial value of the DepartmentName property.</param>
        public static TSTDepartment CreateTSTDepartment(global::System.Int32 departmentID, global::System.String departmentName)
        {
            TSTDepartment tSTDepartment = new TSTDepartment();

            tSTDepartment.DepartmentID   = departmentID;
            tSTDepartment.DepartmentName = departmentName;
            return(tSTDepartment);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the TSTDepartments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTSTDepartments(TSTDepartment tSTDepartment)
 {
     base.AddObject("TSTDepartments", tSTDepartment);
 }