/// <summary>
 /// Create a new V_sys_department object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="parent_id">Initial value of the parent_id property.</param>
 /// <param name="parent_name">Initial value of the parent_name property.</param>
 /// <param name="comp_num">Initial value of the comp_num property.</param>
 /// <param name="dep_name">Initial value of the dep_name property.</param>
 public static V_sys_department CreateV_sys_department(global::System.Int32 id, global::System.Int32 parent_id, global::System.String parent_name, global::System.String comp_num, global::System.String dep_name)
 {
     V_sys_department v_sys_department = new V_sys_department();
     v_sys_department.id = id;
     v_sys_department.parent_id = parent_id;
     v_sys_department.parent_name = parent_name;
     v_sys_department.comp_num = comp_num;
     v_sys_department.dep_name = dep_name;
     return v_sys_department;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the V_sys_department EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToV_sys_department(V_sys_department v_sys_department)
 {
     base.AddObject("V_sys_department", v_sys_department);
 }