Show / Hide Table of Contents

Class TicketLoggingLogic

Implementation of ticket-logging logic; all required data will come in through parameters

Inheritance
Object
TicketLoggingLogic
Implements
ITicketLoggingLogic
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

Implements

ITicketLoggingLogic

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top