예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the T_sys_department EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_sys_department(T_sys_department t_sys_department)
 {
     base.AddObject("T_sys_department", t_sys_department);
 }
예제 #2
0
 /// <summary>
 /// Create a new T_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="comp_num">Initial value of the comp_num property.</param>
 /// <param name="dep_name">Initial value of the dep_name property.</param>
 public static T_sys_department CreateT_sys_department(global::System.Int32 id, global::System.Int32 parent_id, global::System.String comp_num, global::System.String dep_name)
 {
     T_sys_department t_sys_department = new T_sys_department();
     t_sys_department.id = id;
     t_sys_department.parent_id = parent_id;
     t_sys_department.comp_num = comp_num;
     t_sys_department.dep_name = dep_name;
     return t_sys_department;
 }