C# Class Rebel.Hive.ProviderSupport.AbstractProviderTransaction

Inheritance: DisposableObject, IProviderTransaction
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
Commit ( IProviderUnit unit ) : void

Commits this transaction.

EnsureBegun ( ) : void
GetTransactionId ( ) : string
HasCommitalActionsToPerform ( ) : bool

Determines whether this transaction has actions to perform prior to committing, e.g. cache flushing.

PerformPreCommitalActions ( ) : void

Performs the pre commital actions, e.g. cache flushing.

Rollback ( IProviderUnit unit ) : void

Rolls back this transaction.

Rollback ( bool requestIsImplicit ) : void

Rolls back this transaction and stores a value for whether the rollback request was as a result of an implicit operation, like the disposal of the transaction.

Méthodes protégées

Méthode Description
AbstractProviderTransaction ( ) : System
DisposeResources ( ) : void
PerformCommit ( ) : bool
PerformExplicitRollback ( ) : bool
PerformImplicitRollback ( ) : bool

Method Details

AbstractProviderTransaction() protected méthode

protected AbstractProviderTransaction ( ) : System
Résultat System

Commit() public méthode

Commits this transaction.
public Commit ( IProviderUnit unit ) : void
unit IProviderUnit
Résultat void

DisposeResources() protected méthode

protected DisposeResources ( ) : void
Résultat void

EnsureBegun() public abstract méthode

public abstract EnsureBegun ( ) : void
Résultat void

GetTransactionId() public méthode

public GetTransactionId ( ) : string
Résultat string

HasCommitalActionsToPerform() public méthode

Determines whether this transaction has actions to perform prior to committing, e.g. cache flushing.
public HasCommitalActionsToPerform ( ) : bool
Résultat bool

PerformCommit() protected abstract méthode

protected abstract PerformCommit ( ) : bool
Résultat bool

PerformExplicitRollback() protected abstract méthode

protected abstract PerformExplicitRollback ( ) : bool
Résultat bool

PerformImplicitRollback() protected abstract méthode

protected abstract PerformImplicitRollback ( ) : bool
Résultat bool

PerformPreCommitalActions() public méthode

Performs the pre commital actions, e.g. cache flushing.
public PerformPreCommitalActions ( ) : void
Résultat void

Rollback() public méthode

Rolls back this transaction.
public Rollback ( IProviderUnit unit ) : void
unit IProviderUnit
Résultat void

Rollback() public méthode

Rolls back this transaction and stores a value for whether the rollback request was as a result of an implicit operation, like the disposal of the transaction.
public Rollback ( bool requestIsImplicit ) : void
requestIsImplicit bool if set to true [request is implicit].
Résultat void