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
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Private Properties

Свойство Type Description
AddInternalTables void
Dispose void
Finish void
ReleaseLocks void
Transaction System
Transaction System

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
GetMetadata ( object>.Dictionary metadata ) : void

Private Methods

Méthode 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 méthode

public Commit ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Enter() public méthode

public Enter ( IEnumerable objects, AccessType accessType ) : void
objects IEnumerable
accessType AccessType
Résultat void

Exit() public méthode

public Exit ( IEnumerable objects, AccessType accessType ) : void
objects IEnumerable
accessType AccessType
Résultat void

GetMetadata() protected méthode

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
Résultat void

Lock() public méthode

public Lock ( IEnumerable objects, LockingMode mode, int timeout ) : void
objects IEnumerable
mode LockingMode
timeout int
Résultat void

Rollback() public méthode

public Rollback ( ) : void
Résultat void

SetTableState() public méthode

public SetTableState ( OldNewTableState tableState ) : void
tableState Deveel.Data.Sql.Triggers.OldNewTableState
Résultat void