Class TravelCurrentTableInfo
Table 'travelcurrent': Information about this database and its place in the hierarchy
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("travelcurrent")]
public class TravelCurrentTableInfo : 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 TravelCurrent in the database dictionary: travelcurrent
Declaration
public const string DictionaryTableName = "travelcurrent"
Field Value
Type | Description |
---|---|
String |
Properties
AdminLogin
Field 'adminLogin' in table 'travelcurrent': Dictionary type String[128], .NET type: String
Encrypted string containing user name & password of DB user who has create/delete user authority for this database
Declaration
public StringFieldInfo AdminLogin { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
AreaId
Field 'area_id' in table 'travelcurrent': Dictionary type Id, .NET type: Int32
Area ID this database represents
Declaration
public Int32FieldInfo AreaId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
CentralDbTag
Field 'centralDbTag' in table 'travelcurrent': Dictionary type String[40], .NET type: String
128-bit database tag (in hex) of the central database
Declaration
public StringFieldInfo CentralDbTag { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
CentralGeneratedtime
Field 'central_generatedtime' in table 'travelcurrent': Dictionary type DateTime, .NET type: DateTime
When was the central database generated
Declaration
public DateTimeFieldInfo CentralGeneratedtime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
CentralId
Field 'central_id' in table 'travelcurrent': Dictionary type FK, .NET type: Int32
ID of parent database (from its current_id)
Declaration
public Int32FieldInfo CentralId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
CentralId_InnerJoin_Associate
Generated join from the foreign key CentralId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> CentralId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
CurrentGeneratedtime
Field 'current_generatedtime' in table 'travelcurrent': Dictionary type DateTime, .NET type: DateTime
When was this database generated
Declaration
public DateTimeFieldInfo CurrentGeneratedtime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
CurrentId
Field 'current_id' in table 'travelcurrent': Dictionary type FK, .NET type: Int32
Central=0, Departm.=H01000000-H7F000000, Travel=assoc_id
Declaration
public Int32FieldInfo CurrentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
CurrentId_InnerJoin_Associate
Generated join from the foreign key CurrentId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> CurrentId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Databasetype
Field 'databasetype' in table 'travelcurrent': Dictionary type UShort, .NET type: Int16
Default database type for prototypes made from this database, unless the Area record says something else
Declaration
public UInt16FieldInfo Databasetype { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
DbTag
Field 'dbTag' in table 'travelcurrent': Dictionary type String[40], .NET type: String
128-bit database tag (in hex) of this database
Declaration
public StringFieldInfo DbTag { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DefaultMakeReturn
Field 'defaultMakeReturn' in table 'travelcurrent': Dictionary type UShort, .NET type: Int16
Default value for the 'make return log' checkbox, based on last answer
Declaration
public UInt16FieldInfo DefaultMakeReturn { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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 TravelCurrent 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 |
EncryptedComm
Field 'encryptedComm' in table 'travelcurrent': Dictionary type Enum, .NET type: TravelEncryptionOwn
Use encrypted communication back to parent: 0 = no, 1 = serial no as key, 2 = target db tag as key (secure but lots of hassle for support)
Declaration
public TravelEncryptionOwnFieldInfo EncryptedComm { get; }
Property Value
Type | Description |
---|---|
TravelEncryptionOwnFieldInfo |
FirstRecordnumber
Field 'first_recordnumber' in table 'travelcurrent': Dictionary type FK, .NET type: Int32
First traveltranslog record in parent that was transmitted to this database
Declaration
public Int32FieldInfo FirstRecordnumber { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
FirstRecordnumber_InnerJoin_TravelTransactionLog
Generated join from the foreign key FirstRecordnumber in this table, to its target table TravelTransactionLogTableInfo.
Declaration
public TargetedInnerJoin<TravelTransactionLogTableInfo> FirstRecordnumber_InnerJoin_TravelTransactionLog { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<TravelTransactionLogTableInfo> |
LastPlaybacknumber
Field 'last_playbacknumber' in table 'travelcurrent': Dictionary type Id, .NET type: Int32
File number of last file read from our parent
Declaration
public Int32FieldInfo LastPlaybacknumber { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LastPlaybacktime
Field 'last_playbacktime' in table 'travelcurrent': Dictionary type DateTime, .NET type: DateTime
Datetamp of when we last read a file from our parent
Declaration
public DateTimeFieldInfo LastPlaybacktime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LastRecordnumber
Field 'last_recordnumber' in table 'travelcurrent': Dictionary type FK, .NET type: Int32
Traveltranslog record ID of last record this database has received from its parent
Declaration
public Int32FieldInfo LastRecordnumber { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LastRecordnumber_InnerJoin_TravelTransactionLog
Generated join from the foreign key LastRecordnumber in this table, to its target table TravelTransactionLogTableInfo.
Declaration
public TargetedInnerJoin<TravelTransactionLogTableInfo> LastRecordnumber_InnerJoin_TravelTransactionLog { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<TravelTransactionLogTableInfo> |
LastRecordtime
Field 'last_recordtime' in table 'travelcurrent': Dictionary type DateTime, .NET type: DateTime
Timestamp of last traveltranslog record received from the parent of this database
Declaration
public DateTimeFieldInfo LastRecordtime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
ParentDbTag
Field 'parentDbTag' in table 'travelcurrent': Dictionary type String[40], .NET type: String
128-bit database tag (in hex) of this database's parent database
Declaration
public StringFieldInfo ParentDbTag { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Registered
Field 'registered' in table 'travelcurrent': 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 'travelcurrent': 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 |
Systemlevel
Field 'systemlevel' in table 'travelcurrent': Dictionary type UShort, .NET type: Int16
10 = central, 9 = first child, 8 = second-generation child
Declaration
public UInt16FieldInfo Systemlevel { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
TravelcurrentId
Field 'travelcurrent_id' in table 'travelcurrent': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo TravelcurrentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Updated
Field 'updated' in table 'travelcurrent': 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 'travelcurrent': 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 'travelcurrent': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |