C# 클래스 Upscaledb.Transaction

A Transaction class
상속: IDisposable
파일 보기 프로젝트 열기: cruppstahl/upscaledb 1 사용 예제들

공개 메소드들

메소드 설명
Abort ( ) : void

Aborts the Transaction if it has not already been committed or aborted.

This method wraps the native ups_txn_abort function.
Note that the function will fail with UPS_CURSOR_STILL_OPEN if a Cursor was attached to this Transaction, and the Cursor was not closed.

Commit ( ) : void

Commits the Transaction

This method wraps the native ups_txn_commit function.
Note that the function will fail with UPS_CURSOR_STILL_OPEN if a Cursor was attached to this Transaction, and the Cursor was not closed.

Dispose ( ) : void

Aborts the Transaction if it has not already been committed or aborted.

비공개 메소드들

메소드 설명
Transaction ( Environment env, IntPtr handle ) : System

메소드 상세

Abort() 공개 메소드

Aborts the Transaction if it has not already been committed or aborted.
This method wraps the native ups_txn_abort function.
Note that the function will fail with UPS_CURSOR_STILL_OPEN if a Cursor was attached to this Transaction, and the Cursor was not closed.
public Abort ( ) : void
리턴 void

Commit() 공개 메소드

Commits the Transaction
This method wraps the native ups_txn_commit function.
Note that the function will fail with UPS_CURSOR_STILL_OPEN if a Cursor was attached to this Transaction, and the Cursor was not closed.
public Commit ( ) : void
리턴 void

Dispose() 공개 메소드

Aborts the Transaction if it has not already been committed or aborted.
public Dispose ( ) : void
리턴 void