/// <summary> /// Deprecated Method for adding a new object to the users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTousers(user user) { base.AddObject("users", user); }
/// <summary> /// Create a new user object. /// </summary> /// <param name="user_id">Initial value of the user_id property.</param> /// <param name="user_district_id">Initial value of the user_district_id property.</param> /// <param name="user_username">Initial value of the user_username property.</param> /// <param name="user_password">Initial value of the user_password property.</param> /// <param name="user_passwordsalt">Initial value of the user_passwordsalt property.</param> /// <param name="user_email">Initial value of the user_email property.</param> /// <param name="user_active">Initial value of the user_active property.</param> public static user Createuser(global::System.Int32 user_id, global::System.Int32 user_district_id, global::System.String user_username, global::System.String user_password, global::System.String user_passwordsalt, global::System.String user_email, global::System.Boolean user_active) { user user = new user(); user.user_id = user_id; user.user_district_id = user_district_id; user.user_username = user_username; user.user_password = user_password; user.user_passwordsalt = user_passwordsalt; user.user_email = user_email; user.user_active = user_active; return user; }