Show / Hide Table of Contents

Class ScriptTraceRunRecordData

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

Inheritance
object
ScriptTraceRunRecordData
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 ScriptTraceRunRecordData
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ScriptTraceRunRecordData()

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

Declaration
public ScriptTraceRunRecordData()
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

AssociateId

Associate who the script was executed as

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

EndedAt

When the trace was ended

Declaration
public DateTime EndedAt
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExecutionTime

Real seconds spent executing

Declaration
public int ExecutionTime
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FileSize

The size of the trace file

Declaration
public int FileSize
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Frames

The frames of the the trace

Declaration
public string Frames
Field Value
Type Description
string
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

NumFrames

The number of frames saved

Declaration
public int NumFrames
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PeakMemory

The maximum amount of used memory during execution (in kB)

Declaration
public int PeakMemory
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScriptTraceId

Id of parent script_trace record

Declaration
public int ScriptTraceId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ScriptTraceRunId

Primary key

Declaration
public int ScriptTraceRunId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

StartedAt

When the trace was started

Declaration
public DateTime StartedAt
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Status

The status of the script, or exception if it fails

Declaration
public string Status
Field Value
Type Description
string
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UserExecutionTime

CPU seconds spent executing

Declaration
public int UserExecutionTime
Field Value
Type Description
int
Remarks

Please use this class instead of a full ScriptTraceRunRow 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 ScriptTraceRunTableInfo 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)
ScriptTraceRunRecordDataExtensions.ToInsertAsync(ScriptTraceRunRecordData, 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