Class ScriptTraceRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the script_trace table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ScriptTraceRecordData
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
ScriptTraceRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the script_trace table.
Declaration
public ScriptTraceRecordData()
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
AssociateId
Optionally limit traces to a specific associate
Declaration
public int AssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Enabled
Whether this trace is enabled or not
Declaration
public short Enabled
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExceptionOnly
If true, then we save the trace run only if an unhandled exception is thrown
Declaration
public short ExceptionOnly
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Location
The location of the script which should be traced
Declaration
public string Location
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Name
The friendly name of the script which should be traced
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NotificationEmail
Email to notify when trace saved
Declaration
public string NotificationEmail
Field Value
Type | Description |
---|---|
string |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Notify
Send notification by email when trace run is saved
Declaration
public short Notify
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NumNotifications
How many (more) notifications left before it is disabled
Declaration
public int NumNotifications
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ScriptTraceId
Primary key
Declaration
public int ScriptTraceId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SkipFrames
Skip n frames between each save to optimize
Declaration
public int SkipFrames
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SumRuns
How many trace runs have been saved
Declaration
public int SumRuns
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SumSize
How much trace data has been saved
Declaration
public int SumSize
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Ttl
How long traces should be kept before being deleted (in seconds)
Declaration
public int Ttl
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
int |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
short |
Remarks
Please use this class instead of a full ScriptTraceRow 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 ScriptTraceTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.