public void PrepareConnection(MySqlConnection connection) { InsertQuery.Connection = connection; InsertQuery.Prepare(); }