public void TransactionUpdated() { for (int i = 0; i < this.PreparedCommands.Count; i++) { FbCommand command = (FbCommand)this.PreparedCommands[i]; if (command.Transaction != null) { command.CloseReader(); command.Transaction = null; } } }