Deveel.Data.Session.Commit C# (CSharp) Method

Commit() public method

public Commit ( ) : void
return void
        public void Commit()
        {
            AssertNotDisposed();

            try {
                this.OnEvent(new SessionEvent(SessionEventType.BeforeCommit));

                if (Transaction != null) {
                    try {
                        Transaction.Commit();
                    } finally {
                        DisposeTransaction();
                    }
                }
            } finally {
                this.OnEvent(new SessionEvent(SessionEventType.AfterCommit));
            }
        }