Deveel.Data.Client.ConnectionClient.CommitTransaction C# (CSharp) Метод

CommitTransaction() публичный Метод

public CommitTransaction ( int transactionId ) : void
transactionId int
Результат void
        public void CommitTransaction(int transactionId)
        {
            var response = SendMessage(new CommitRequest(transactionId))
                as AcknowledgeResponse;

            if (response == null)
                throw new InvalidOperationException();

            if (!response.State)
                throw new DeveelDbServerException("Unable to commit the transaction on the server.", -1, -1);
        }