C# Class Habanero.BO.NullTransactionLogger

A transaction logger that does nothing (ie it doesn't log anything)
Inheritance: ITransactionLog
Show file Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
GetPersistSql ( ) : IEnumerable

Returns an empty list

TransactionID ( ) : string

This is the ID that uniquely identifies this item of the transaction. This must be the same for the lifetime of the transaction object. This assumption is relied upon for certain optimisations in the Transaction Comitter.

UpdateAsRolledBack ( ) : void

Does nothing

UpdateStateAsCommitted ( ) : void

Does nothing

Method Details

GetPersistSql() public method

Returns an empty list
public GetPersistSql ( ) : IEnumerable
return IEnumerable

TransactionID() public method

This is the ID that uniquely identifies this item of the transaction. This must be the same for the lifetime of the transaction object. This assumption is relied upon for certain optimisations in the Transaction Comitter.
public TransactionID ( ) : string
return string

UpdateAsRolledBack() public method

Does nothing
public UpdateAsRolledBack ( ) : void
return void

UpdateStateAsCommitted() public method

Does nothing
public UpdateStateAsCommitted ( ) : void
return void