Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the T_sys_user EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_sys_user(T_sys_user t_sys_user)
 {
     base.AddObject("T_sys_user", t_sys_user);
 }
Пример #2
0
 /// <summary>
 /// Create a new T_sys_user object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="user_lname">Initial value of the user_lname property.</param>
 /// <param name="user_password">Initial value of the user_password property.</param>
 /// <param name="user_sex">Initial value of the user_sex property.</param>
 /// <param name="dep_id">Initial value of the dep_id property.</param>
 /// <param name="role_id">Initial value of the role_id property.</param>
 /// <param name="user_enable">Initial value of the user_enable property.</param>
 public static T_sys_user CreateT_sys_user(global::System.Int32 id, global::System.String user_lname, global::System.String user_password, global::System.Int32 user_sex, global::System.Int32 dep_id, global::System.Int32 role_id, global::System.Int32 user_enable)
 {
     T_sys_user t_sys_user = new T_sys_user();
     t_sys_user.id = id;
     t_sys_user.user_lname = user_lname;
     t_sys_user.user_password = user_password;
     t_sys_user.user_sex = user_sex;
     t_sys_user.dep_id = dep_id;
     t_sys_user.role_id = role_id;
     t_sys_user.user_enable = user_enable;
     return t_sys_user;
 }