C# Class DBreeze.Transactions.TransactionsJournal

Inheritance: IDisposable
Afficher le fichier Open project: hhblaze/DBreeze Class Usage Examples

Méthodes publiques

Méthode Description
AddTableForTransaction ( ulong tranNumber, ITransactable table ) : void

Every table inside of the transaction before calling Transaction Commit, goes to this in-memory dictionary

Dispose ( ) : void
FinishTransaction ( ulong tranNumber ) : void

FinishTransaction

GetTransactionNumber ( ) : ulong

Returns new transaction number

RemoveTransactionFromDictionary ( ulong tranNumber ) : void

Used in case of failed transaction of multiple tables, to clean in-memory dictionary

TransactionsJournal ( DBreezeEngine DBreezeEngine ) : System

Private Methods

Méthode Description
Init ( ) : void
RestoreNotFinishedTransactions ( ) : void

Method Details

AddTableForTransaction() public méthode

Every table inside of the transaction before calling Transaction Commit, goes to this in-memory dictionary
public AddTableForTransaction ( ulong tranNumber, ITransactable table ) : void
tranNumber ulong
table ITransactable
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FinishTransaction() public méthode

FinishTransaction
public FinishTransaction ( ulong tranNumber ) : void
tranNumber ulong
Résultat void

GetTransactionNumber() public méthode

Returns new transaction number
public GetTransactionNumber ( ) : ulong
Résultat ulong

RemoveTransactionFromDictionary() public méthode

Used in case of failed transaction of multiple tables, to clean in-memory dictionary
public RemoveTransactionFromDictionary ( ulong tranNumber ) : void
tranNumber ulong
Résultat void

TransactionsJournal() public méthode

public TransactionsJournal ( DBreezeEngine DBreezeEngine ) : System
DBreezeEngine DBreeze.DBreezeEngine
Résultat System