CmisSync.Lib.Database.Database.ExecuteSQLAction C# (CSharp) Метод

ExecuteSQLAction() приватный Метод

Helper method to execute an SQL command that does not return anything.
private ExecuteSQLAction ( string text, object>.Dictionary parameters ) : void
text string SQL query, optionnally with @something parameters.
parameters object>.Dictionary Parameters to replace in the SQL query.
Результат void
        private void ExecuteSQLAction(string text, Dictionary<string, object> parameters)
        {
            using (var command = new SQLiteCommand(GetSQLiteConnection()))
            {
                try
                {
                    ComposeSQLCommand(command, text, parameters);
                    command.ExecuteNonQuery();
                }
                catch (SQLiteException e)
                {
                    Logger.Error(String.Format("Could not execute SQL: {0}; {1}", text, JsonConvert.SerializeObject(parameters)), e);
                    throw;
                }
            }
        }