Class TicketLoggerProcessor
This class is mainly concerned with collecting information that will be needed to perform logging of ticket changes - pre/post values - and will delegate the actual logging to an instance of ITicketLoggingLogic.
Inherited Members
Namespace: SuperOffice.Data.Private.TicketLogging
Assembly: SoDataBase.dll
Syntax
public sealed class TicketLoggerProcessor : BatchSaveProcessor
Remarks
Note that there is a new instance of this class for each and every Sql executed
Constructors
TicketLoggerProcessor()
This class is mainly concerned with collecting information that will be needed to perform logging of ticket changes - pre/post values - and will delegate the actual logging to an instance of ITicketLoggingLogic.
Declaration
public TicketLoggerProcessor()
Remarks
Note that there is a new instance of this class for each and every Sql executed
Properties
HasWorkToDo
Override: We're not using the standard query-copy mechanism of the base class because it does not fit our needs. Therefore we also need to take over the implementation of this flag.
Declaration
public override bool HasWorkToDo { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Remarks
Note that there is a new instance of this class for each and every Sql executed
Methods
OnOperation(BatchSave)
Call the actual logging logic. This method is called on a separate thread, asynchronously.
Declaration
protected override void OnOperation(BatchSave _)
Parameters
Type | Name | Description |
---|---|---|
BatchSave | _ |
Overrides
Remarks
Note that there is a new instance of this class for each and every Sql executed
OnSetup(BatchSave)
Collect all the information we will need, before the Save actually happens
Declaration
public override bool OnSetup(BatchSave inputQueryBatch)
Parameters
Type | Name | Description |
---|---|---|
BatchSave | inputQueryBatch |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Remarks
Note that there is a new instance of this class for each and every Sql executed