private void PrepareAndExecuteCommandsFromList() { foreach (ModuleCommand command in this.commands) { command.Prepare(); } try { foreach (ModuleCommand command in this.commands) { command.Execute(); } } catch { this.RollbackTransaction(); throw; } }