C# 클래스 Npgsql.NpgsqlTransaction

Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited.
상속: System.Data.Common.DbTransaction
파일 보기 프로젝트 열기: undeadlabs/Npgsql 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Cancel void
CheckDisposed void
NpgsqlTransaction System
NpgsqlTransaction System

공개 메소드들

메소드 설명
Commit ( ) : void

Commits the database transaction.

Rollback ( ) : void

Rolls back a transaction from a pending state.

Rollback ( String savePointName ) : void

Rolls back a transaction from a pending savepoint state.

Save ( String savePointName ) : void

Creates a transaction save point.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose.

비공개 메소드들

메소드 설명
Cancel ( ) : void

Cancel the transaction without telling the backend about it. This is used to make the transaction go away when closing a connection.

CheckDisposed ( ) : void
NpgsqlTransaction ( NpgsqlConnection conn ) : System
NpgsqlTransaction ( NpgsqlConnection conn, IsolationLevel isolation ) : System

메소드 상세

Commit() 공개 메소드

Commits the database transaction.
public Commit ( ) : void
리턴 void

Dispose() 보호된 메소드

Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Rollback() 공개 메소드

Rolls back a transaction from a pending state.
public Rollback ( ) : void
리턴 void

Rollback() 공개 메소드

Rolls back a transaction from a pending savepoint state.
public Rollback ( String savePointName ) : void
savePointName String
리턴 void

Save() 공개 메소드

Creates a transaction save point.
public Save ( String savePointName ) : void
savePointName String
리턴 void