C# Class Marten.Services.TransactionState

Inheritance: IDisposable
ファイルを表示 Open project: JasperFx/marten

Public Methods

Method Description
Apply ( NpgsqlCommand cmd ) : void
BeginTransaction ( ) : void
Commit ( ) : void
CommitAsync ( CancellationToken token ) : Task
CreateCommand ( ) : NpgsqlCommand
Dispose ( ) : void
Open ( ) : void
OpenAsync ( CancellationToken token ) : Task
Rollback ( ) : void
RollbackAsync ( CancellationToken token ) : Task
TransactionState ( IConnectionFactory factory, CommandRunnerMode mode, IsolationLevel isolationLevel, int commandTimeout ) : System

Method Details

Apply() public method

public Apply ( NpgsqlCommand cmd ) : void
cmd Npgsql.NpgsqlCommand
return void

BeginTransaction() public method

public BeginTransaction ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

CommitAsync() public method

public CommitAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

CreateCommand() public method

public CreateCommand ( ) : NpgsqlCommand
return Npgsql.NpgsqlCommand

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( ) : void
return void

OpenAsync() public method

public OpenAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

Rollback() public method

public Rollback ( ) : void
return void

RollbackAsync() public method

public RollbackAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

TransactionState() public method

public TransactionState ( IConnectionFactory factory, CommandRunnerMode mode, IsolationLevel isolationLevel, int commandTimeout ) : System
factory IConnectionFactory
mode CommandRunnerMode
isolationLevel IsolationLevel
commandTimeout int
return System