Пример #1
0
        public void TransactionUpdated()
        {
            for (int i = 0; i < this.preparedCommands.Count; i++)
            {
                if (!this.preparedCommands[i].IsAlive)
                {
                    continue;
                }

                FbCommand command = this.preparedCommands[i].Target as FbCommand;

                if (command.Transaction != null)
                {
                    command.CloseReader();
                    command.Transaction = null;
                }
            }
        }