C# Class Deveel.Data.Transactions.Transaction

The system implementation of a transaction model that handles isolated operations within a database context.
Inheritance: ITransaction, ICallbackHandler, ITableStateHandler
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
AddInternalTables void
Dispose void
Finish void
ReleaseLocks void
Transaction System
Transaction System

Public Methods

Method Description
Commit ( ) : void
Dispose ( ) : void
Enter ( IEnumerable objects, AccessType accessType ) : void
Exit ( IEnumerable objects, AccessType accessType ) : void
Lock ( IEnumerable objects, LockingMode mode, int timeout ) : void
Rollback ( ) : void
SetTableState ( OldNewTableState tableState ) : void

Protected Methods

Method Description
GetMetadata ( object>.Dictionary metadata ) : void

Private Methods

Method Description
AddInternalTables ( ) : void
Dispose ( bool disposing ) : void
Finish ( ) : void
ReleaseLocks ( ) : void
Transaction ( ITransactionContext context, Database database, int commitId, IsolationLevel isolation ) : System
Transaction ( ITransactionContext context, Database database, int commitId, IsolationLevel isolation, IEnumerable committedTables, IEnumerable indexSets ) : System

Method Details

Commit() public method

public Commit ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Enter() public method

public Enter ( IEnumerable objects, AccessType accessType ) : void
objects IEnumerable
accessType AccessType
return void

Exit() public method

public Exit ( IEnumerable objects, AccessType accessType ) : void
objects IEnumerable
accessType AccessType
return void

GetMetadata() protected method

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
return void

Lock() public method

public Lock ( IEnumerable objects, LockingMode mode, int timeout ) : void
objects IEnumerable
mode LockingMode
timeout int
return void

Rollback() public method

public Rollback ( ) : void
return void

SetTableState() public method

public SetTableState ( OldNewTableState tableState ) : void
tableState Deveel.Data.Sql.Triggers.OldNewTableState
return void