Exemplo n.º 1
 /// <summary>
 /// Create a new V_company_user object.
 /// </summary>
 /// <param name="user_id">Initial value of the user_id property.</param>
 /// <param name="comp_id">Initial value of the comp_id property.</param>
 /// <param name="comp_num">Initial value of the comp_num 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 V_company_user CreateV_company_user(global::System.Int32 user_id, global::System.Int32 comp_id, global::System.String comp_num, 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)
     V_company_user v_company_user = new V_company_user();
     v_company_user.user_id = user_id;
     v_company_user.comp_id = comp_id;
     v_company_user.comp_num = comp_num;
     v_company_user.user_lname = user_lname;
     v_company_user.user_password = user_password;
     v_company_user.user_sex = user_sex;
     v_company_user.dep_id = dep_id;
     v_company_user.role_id = role_id;
     v_company_user.user_enable = user_enable;
     return v_company_user;
Exemplo n.º 2
 /// <summary>
 /// Deprecated Method for adding a new object to the V_company_user EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToV_company_user(V_company_user v_company_user)
     base.AddObject("V_company_user", v_company_user);