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()

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

Declaration
public 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.

Fields

EventGroup

See NewLog::EventGroup

Declaration
public int EventGroup
Field Value
Type Description
int
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.

EventId

See NewLog::EventId

Declaration
public int EventId
Field Value
Type Description
int
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.

EventType

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

Declaration
public int EventType
Field Value
Type Description
int
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.

LogEventsId

Primary key

Declaration
public int LogEventsId
Field Value
Type Description
int
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.

SourceUser

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

Declaration
public int SourceUser
Field Value
Type Description
int
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.

SourceUserDesc

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

Declaration
public string SourceUserDesc
Field Value
Type Description
string
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.

TargetId

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

Declaration
public int TargetId
Field Value
Type Description
int
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.

TimeOfEvent

When did the event take place

Declaration
public DateTime TimeOfEvent
Field Value
Type Description
DateTime
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.

Var1

Dynamic info

Declaration
public string Var1
Field Value
Type Description
string
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.

Var2

Dynamic info

Declaration
public string Var2
Field Value
Type Description
string
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.

Var3

Dynamic info

Declaration
public string Var3
Field Value
Type Description
string
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.

Var4

Dynamic info

Declaration
public string Var4
Field Value
Type Description
string
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.

Var5

Dynamic info

Declaration
public string Var5
Field Value
Type Description
string
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.

Extension Methods

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