Class ScriptTraceRunTableInfo
Table 'script_trace_run': Traces of executed scripts
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("script_trace_run")]
public class ScriptTraceRunTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table ScriptTraceRun in the database dictionary: script_trace_run
Declaration
public const string DictionaryTableName = "script_trace_run"
Field Value
Type | Description |
---|---|
String |
Properties
AssociateId
Field 'associate_id' in table 'script_trace_run': Dictionary type FK, .NET type: Int32
Associate who the script was executed as
Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
AssociateId_InnerJoin_Associate
Generated join from the foreign key AssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> AssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
DictionaryTableNumber
Table number for table ScriptTraceRun in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
Int32 |
EndedAt
Field 'ended_at' in table 'script_trace_run': Dictionary type DateTime, .NET type: DateTime
When the trace was ended
Declaration
public DateTimeFieldInfo EndedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
ExecutionTime
Field 'execution_time' in table 'script_trace_run': Dictionary type Int, .NET type: Int32
Real seconds spent executing
Declaration
public Int32FieldInfo ExecutionTime { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
FileSize
Field 'file_size' in table 'script_trace_run': Dictionary type Int, .NET type: Int32
The size of the trace file
Declaration
public Int32FieldInfo FileSize { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
NumFrames
Field 'num_frames' in table 'script_trace_run': Dictionary type Int, .NET type: Int32
The number of frames saved
Declaration
public Int32FieldInfo NumFrames { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
PeakMemory
Field 'peak_memory' in table 'script_trace_run': Dictionary type Int, .NET type: Int32
The maximum amount of used memory during execution (in kB)
Declaration
public Int32FieldInfo PeakMemory { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
ScriptTraceId
Field 'script_trace_id' in table 'script_trace_run': Dictionary type FK, .NET type: Int32
Id of parent script_trace record
Declaration
public Int32FieldInfo ScriptTraceId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ScriptTraceId_InnerJoin_ScriptTrace
Generated join from the foreign key ScriptTraceId in this table, to its target table ScriptTraceTableInfo.
Declaration
public TargetedInnerJoin<ScriptTraceTableInfo> ScriptTraceId_InnerJoin_ScriptTrace { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ScriptTraceTableInfo> |
ScriptTraceRunId
Field 'script_trace_run_id' in table 'script_trace_run': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo ScriptTraceRunId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
StartedAt
Field 'started_at' in table 'script_trace_run': Dictionary type DateTime, .NET type: DateTime
When the trace was started
Declaration
public DateTimeFieldInfo StartedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
Status
Field 'status' in table 'script_trace_run': Dictionary type String[2048], .NET type: String
The status of the script, or exception if it fails
Declaration
public StringFieldInfo Status { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
UserExecutionTime
Field 'user_execution_time' in table 'script_trace_run': Dictionary type Int, .NET type: Int32
CPU seconds spent executing
Declaration
public Int32FieldInfo UserExecutionTime { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |