Class ErpInternalKeyTableInfo
Table 'ErpInternalKey': The internal (superoffice-facing) key related to a synchronized record
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ErpInternalKey")]
public class ErpInternalKeyTableInfo : 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 ErpInternalKey in the database dictionary: ErpInternalKey
Declaration
public const string DictionaryTableName = "ErpInternalKey"
Field Value
Type | Description |
---|---|
System.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 ErpInternalKey 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 |
---|---|
System.Int32 |
ErpInternalKeyId
Field 'erpinternalkey_id' in table 'ErpInternalKey': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo ErpInternalKeyId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LeftOuterJoin_ErpExternalKey_ErpInternalKeyId
Generated left outer join from the primary key ErpInternalKeyId on this table, to ErpExternalKey.ErpInternalKeyId.
Declaration
public TargetedLeftOuterJoin<ErpExternalKeyTableInfo> LeftOuterJoin_ErpExternalKey_ErpInternalKeyId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ErpExternalKeyTableInfo> |
MostRecentTimestamp
Field 'MostRecentTimestamp' in table 'ErpInternalKey': Dictionary type String[255], .NET type: System.String
Datetime, transaction number or other identification of the point in time of the most-recently seen actor in the ERP system
Declaration
public StringFieldInfo MostRecentTimestamp { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
RecordId
Field 'recordId' in table 'ErpInternalKey': Dictionary type RecordId, .NET type: System.Int32
ID of row this right applies to
Declaration
public Int32FieldInfo RecordId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Registered
Field 'registered' in table 'ErpInternalKey': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'ErpInternalKey': Dictionary type FK, target: Associate, .NET type: System.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
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
TableId
Field 'tableId' in table 'ErpInternalKey': Dictionary type TableNumber, .NET type: System.Int16
ID of table this right is valid for
Declaration
public UInt16FieldInfo TableId { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Updated
Field 'updated' in table 'ErpInternalKey': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'ErpInternalKey': Dictionary type FK, target: Associate, .NET type: System.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 'ErpInternalKey': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxRecordId(Int32)
Shortcut method for looking up using the database index RecordId, which spans the following fields:
Field | Description |
---|---|
RecordId | ID of row this right applies to |
Declaration
public Restriction IdxRecordId(int recordId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | recordId |
Returns
Type | Description |
---|---|
Restriction |