Class TravellerTableInfo
Table 'traveller': Associates traveling out from this database
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("traveller")]
public class TravellerTableInfo : 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 Traveller in the database dictionary: traveller
Declaration
public const string DictionaryTableName = "traveller"
Field Value
Type | Description |
---|---|
String |
Properties
AreaId
Field 'area_id' in table 'traveller': Dictionary type Id, .NET type: Int32
ID of Area this traveller is on
Declaration
public Int32FieldInfo AreaId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Databasetype
Field 'databasetype' in table 'traveller': Dictionary type UShort, .NET type: Int16
The database type he has
Declaration
public UInt16FieldInfo Databasetype { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
DbTag
Field 'dbTag' in table 'traveller': Dictionary type String[40], .NET type: String
Database tag, used for encryption key
Declaration
public StringFieldInfo DbTag { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DefaultMakeReturn
Field 'defaultMakeReturn' in table 'traveller': 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 Traveller 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 'traveller': Dictionary type Enum, .NET type: TravelEncryptionChild
Use encrypted communication for this traveller: 0 = no, 1 = serial no as key, 2 = target db tag as key (secure but lots of hassle for support)
Declaration
public TravelEncryptionChildFieldInfo EncryptedComm { get; }
Property Value
Type | Description |
---|---|
TravelEncryptionChildFieldInfo |
Generatedtime
Field 'generatedtime' in table 'traveller': Dictionary type DateTime, .NET type: DateTime
Time of exit (local update)
Declaration
public DateTimeFieldInfo Generatedtime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LastPlaybacknumber
Field 'last_playbacknumber' in table 'traveller': Dictionary type FK, .NET type: Int32
File number of last file receieved from this traveller
Declaration
public Int32FieldInfo LastPlaybacknumber { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
LastPlaybacknumber_InnerJoin_TravelTransactionLog
Generated join from the foreign key LastPlaybacknumber in this table, to its target table TravelTransactionLogTableInfo.
Declaration
public TargetedInnerJoin<TravelTransactionLogTableInfo> LastPlaybacknumber_InnerJoin_TravelTransactionLog { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<TravelTransactionLogTableInfo> |
LastPlaybacktime
Field 'last_playbacktime' in table 'traveller': Dictionary type DateTime, .NET type: DateTime
Datetime when we last read a file from this traveller
Declaration
public DateTimeFieldInfo LastPlaybacktime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LastRecordnumber
Field 'last_recordnumber' in table 'traveller': Dictionary type FK, .NET type: Int32
Record ID of last traveltranslog record receieved from this traveller
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 'traveller': Dictionary type DateTime, .NET type: DateTime
Datestamp from last traveltrans record read from this traveller (async)
Declaration
public DateTimeFieldInfo LastRecordtime { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LeftOuterJoin_RefCountRange_TravellerId
Generated left outer join from the primary key TravellerId on this table, to RefCountRange.TravellerId.
Declaration
public TargetedLeftOuterJoin<RefCountRangeTableInfo> LeftOuterJoin_RefCountRange_TravellerId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<RefCountRangeTableInfo> |
Registered
Field 'registered' in table 'traveller': 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 'traveller': 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 'traveller': Dictionary type UShort, .NET type: Int16
level in hierarchy
Declaration
public UInt16FieldInfo Systemlevel { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
TravelId
Field 'travel_id' in table 'traveller': Dictionary type FK, .NET type: Int32
Central=0, Departm.=H01000000-H7F000000, Travel=assoc_id
Declaration
public Int32FieldInfo TravelId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
TravelId_InnerJoin_Associate
Generated join from the foreign key TravelId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> TravelId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
TravellerId
Field 'traveller_id' in table 'traveller': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo TravellerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Updated
Field 'updated' in table 'traveller': 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 'traveller': 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 'traveller': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |