Interface IPostTransactionCommitHook
Provides a method that is run after a successful registration of an item into the repository.
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public interface IPostTransactionCommitHook
Methods
PostCommit(RepositoryTransactionResult)
Executes the hook after the specified transaction is committed into the repository.
Declaration
void PostCommit(RepositoryTransactionResult result)
Parameters
Type | Name | Description |
---|---|---|
RepositoryTransactionResult | result | The transaction result and current state of the transaction. |
SupportsTransaction(RepositoryTransactionCommitOptions)
Determines whether this hook should be executed for transactions of the specified type.
Declaration
bool SupportsTransaction(RepositoryTransactionCommitOptions commitOptions)
Parameters
Type | Name | Description |
---|---|---|
RepositoryTransactionCommitOptions | commitOptions | The options for the repository commit. |
Returns
Type | Description |
---|---|
bool |
|