C# 클래스 DotNetWorkQueue.Transport.PostgreSQL.Basic.Connection

This object holds the state of an item that is in progress. It's used to commit or rollback the work item as needed.
상속: IDisposable, IIsDisposed
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
Connection ( IConnectionInformation connectionInfo, PostgreSqlMessageQueueTransportOptions options ) : System

Initializes a new instance of the Connection class.

CreateCommand ( ) : NpgsqlCommand

Creates a SQL command object from the current connection and sets the transaction if one is present.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources.

비공개 메소드들

메소드 설명
ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

메소드 상세

Connection() 공개 메소드

Initializes a new instance of the Connection class.
public Connection ( IConnectionInformation connectionInfo, PostgreSqlMessageQueueTransportOptions options ) : System
connectionInfo IConnectionInformation The connection information.
options PostgreSqlMessageQueueTransportOptions The options.
리턴 System

CreateCommand() 공개 메소드

Creates a SQL command object from the current connection and sets the transaction if one is present.
public CreateCommand ( ) : NpgsqlCommand
리턴 Npgsql.NpgsqlCommand

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void