Class LogEventsRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the log_events table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class LogEventsRecordData : Object
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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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.