Show / Hide Table of Contents

Class LogEventsRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the log_events table.

Inheritance
Object
LogEventsRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LogEventsRecordData
Remarks

Please use this class instead of a full LogEventsRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding LogEventsTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

LogEventsRecordData()

Declaration
public LogEventsRecordData()

Fields

EventGroup

See NewLog::EventGroup

Declaration
public int EventGroup
Field Value
Type Description
Int32

EventId

See NewLog::EventId

Declaration
public int EventId
Field Value
Type Description
Int32

EventType

Notification=1, warning=2, error=3, critical error=4

Declaration
public int EventType
Field Value
Type Description
Int32

LogEventsId

Primary key

Declaration
public int LogEventsId
Field Value
Type Description
Int32

SourceUser

The user generating the event. 1=system, other=ejuser.id

Declaration
public int SourceUser
Field Value
Type Description
Int32

SourceUserDesc

Describing the id in source_user. eg user name or customer name or (System)

Declaration
public string SourceUserDesc
Field Value
Type Description
String

TargetId

The id of the target entity (ticket.id, customer.id etc)

Declaration
public int TargetId
Field Value
Type Description
Int32

TimeOfEvent

When did the event take place

Declaration
public DateTime TimeOfEvent
Field Value
Type Description
DateTime

Var1

Dynamic info

Declaration
public string Var1
Field Value
Type Description
String

Var2

Dynamic info

Declaration
public string Var2
Field Value
Type Description
String

Var3

Dynamic info

Declaration
public string Var3
Field Value
Type Description
String

Var4

Dynamic info

Declaration
public string Var4
Field Value
Type Description
String

Var5

Dynamic info

Declaration
public string Var5
Field Value
Type Description
String

Extension Methods

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