Beispiel #1
0
        public WrappedMySqlCommand(string query, MySqlConnection connection)
        {
            _command = new MySqlCommand(query, connection);

            try
            {
                _command.Connection.Open();
            }
            catch (MySqlException e)
            {
                CoreManager.ServerCore.ConsoleManager.Error("MySQL", e.Message);
                EntryPoint.Crash(e);
            }

            _command.Prepare();
        }