/// <summary>
 /// Create a new DepartmentView object.
 /// </summary>
 /// <param name="item_Code">Initial value of the Item_Code property.</param>
 /// <param name="department_Code">Initial value of the Department_Code property.</param>
 public static DepartmentView CreateDepartmentView(global::System.String item_Code, global::System.String department_Code)
 {
     DepartmentView departmentView = new DepartmentView();
     departmentView.Item_Code = item_Code;
     departmentView.Department_Code = department_Code;
     return departmentView;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DepartmentViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDepartmentViews(DepartmentView departmentView)
 {
     base.AddObject("DepartmentViews", departmentView);
 }