private void DeleteFrom(string table_name, MainDb db) { try { AddBackupLogText(table_name); if (chkEmptyDestDatabase.Checked) { db.Execute($"DELETE FROM {table_name};"); } } catch (Exception ex) { AddBackupLogText($"exception clearing {table_name} : {ex.Message}"); } }