Class SystemEventTableInfo
Table 'SystemEvent': System events, such as freetext rebuild, SAINT rebuild and such. Makes broadcasts to keep its siblings and clients updated.
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("SystemEvent")]
public class SystemEventTableInfo : 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 SystemEvent in the database dictionary: SystemEvent
Declaration
public const string DictionaryTableName = "SystemEvent"
Field Value
Type | Description |
---|---|
String |
Properties
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 SystemEvent 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 |
Eta
Field 'eta' in table 'SystemEvent': Dictionary type DateTime, .NET type: DateTime
Estimated Time of Arrival, i.e., when will this event finish?
Declaration
public DateTimeFieldInfo Eta { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
Eventkey
Field 'eventkey' in table 'SystemEvent': Dictionary type String[255], .NET type: String
Event key, predefined in code
Declaration
public StringFieldInfo Eventkey { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Eventmess
Field 'eventmess' in table 'SystemEvent': Dictionary type String[255], .NET type: String
Message to be shown, entered by administrator
Declaration
public StringFieldInfo Eventmess { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ExtraInfo
Field 'extraInfo' in table 'SystemEvent': Dictionary type Id, .NET type: Int32
Extra information (area id for prototype rebuild, etc)
Declaration
public Int32FieldInfo ExtraInfo { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Owner
Field 'owner' in table 'SystemEvent': Dictionary type Id, .NET type: Int32
0, 0, group_id, assoc id (see over)
Declaration
public Int32FieldInfo Owner { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Registered
Field 'registered' in table 'SystemEvent': Dictionary type UtcDateTime, .NET type: DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'SystemEvent': Dictionary type FK, .NET type: Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
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 |
Scope
Field 'scope' in table 'SystemEvent': Dictionary type Id, .NET type: Int32
1 = system-wide, 2= database, 3 = group, 4 = user
Declaration
public Int32FieldInfo Scope { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
SystemEventId
Field 'SystemEvent_id' in table 'SystemEvent': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo SystemEventId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Updated
Field 'updated' in table 'SystemEvent': Dictionary type UtcDateTime, .NET type: DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'SystemEvent': Dictionary type FK, .NET type: Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'SystemEvent': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxEventkey(String)
Shortcut method for looking up using the database index Eventkey, which spans the following fields:
Field | Description |
---|---|
Eventkey | Event key, predefined in code |
Declaration
public Restriction IdxEventkey(string eventkey)
Parameters
Type | Name | Description |
---|---|---|
String | eventkey |
Returns
Type | Description |
---|---|
Restriction |
IdxEventkeyScope(String, Int32)
Shortcut method for looking up using the database index EventkeyScope, which spans the following fields:
Field | Description |
---|---|
Eventkey | Event key, predefined in code |
Scope | 1 = system-wide, 2= database, 3 = group, 4 = user |
Declaration
public Restriction IdxEventkeyScope(string eventkey, int scope)
Parameters
Type | Name | Description |
---|---|---|
String | eventkey | |
Int32 | scope |
Returns
Type | Description |
---|---|
Restriction |