Class TicketLoggingLogic
Implementation of ticket-logging logic; all required data will come in through parameters
Implements
Namespace: SuperOffice.Data.Private.TicketLogging
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class TicketLoggingLogic : Object, ITicketLoggingLogic
Constructors
TicketLoggingLogic()
Implementation of ticket-logging logic; all required data will come in through parameters
Declaration
public TicketLoggingLogic()
Methods
LogFromTicketData(TicketLoggerProcessor.QueryData)
Logs ticket changes if the supplied data suggests that event should be logged.
Declaration
public Nullable<int> LogFromTicketData(TicketLoggerProcessor.QueryData queryData)
Parameters
Type | Name | Description |
---|---|---|
TicketLoggerProcessor.QueryData | queryData | Contains information regarding query that changed the ticket |
Returns
Type | Description |
---|---|
Nullable<Int32> | Returns PK of TicketLogAction row that was inserted. If logic inside the method decides that event does not need to be logged, returns null |