Show / Hide Table of Contents

Class TravelCurrentRecordData

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

Inheritance
Object
TravelCurrentRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TravelCurrentRecordData : Object
Remarks

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

Constructors

TravelCurrentRecordData()

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

Declaration
public TravelCurrentRecordData()
Remarks

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

Fields

AdminLogin

Encrypted string containing user name & password of DB user who has create/delete user authority for this database

Declaration
public string AdminLogin
Field Value
Type Description
String
Remarks

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

AreaId

Area ID this database represents

Declaration
public int AreaId
Field Value
Type Description
Int32
Remarks

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

CentralDbTag

128-bit database tag (in hex) of the central database

Declaration
public string CentralDbTag
Field Value
Type Description
String
Remarks

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

CentralGeneratedtime

When was the central database generated

Declaration
public DateTime CentralGeneratedtime
Field Value
Type Description
DateTime
Remarks

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

CentralId

ID of parent database (from its current_id)

Declaration
public int CentralId
Field Value
Type Description
Int32
Remarks

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

CurrentGeneratedtime

When was this database generated

Declaration
public DateTime CurrentGeneratedtime
Field Value
Type Description
DateTime
Remarks

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

CurrentId

Central=0, Departm.=H01000000-H7F000000, Travel=assoc_id

Declaration
public int CurrentId
Field Value
Type Description
Int32
Remarks

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

Databasetype

Default database type for prototypes made from this database, unless the Area record says something else

Declaration
public short Databasetype
Field Value
Type Description
Int16
Remarks

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

DbTag

128-bit database tag (in hex) of this database

Declaration
public string DbTag
Field Value
Type Description
String
Remarks

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

DefaultMakeReturn

Default value for the 'make return log' checkbox, based on last answer

Declaration
public short DefaultMakeReturn
Field Value
Type Description
Int16
Remarks

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

EncryptedComm

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 TravelEncryptionOwn EncryptedComm
Field Value
Type Description
TravelEncryptionOwn
Remarks

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

FirstRecordnumber

First traveltranslog record in parent that was transmitted to this database

Declaration
public int FirstRecordnumber
Field Value
Type Description
Int32
Remarks

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

LastPlaybacknumber

File number of last file read from our parent

Declaration
public int LastPlaybacknumber
Field Value
Type Description
Int32
Remarks

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

LastPlaybacktime

Datetamp of when we last read a file from our parent

Declaration
public DateTime LastPlaybacktime
Field Value
Type Description
DateTime
Remarks

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

LastRecordnumber

Traveltranslog record ID of last record this database has received from its parent

Declaration
public int LastRecordnumber
Field Value
Type Description
Int32
Remarks

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

LastRecordtime

Timestamp of last traveltranslog record received from the parent of this database

Declaration
public DateTime LastRecordtime
Field Value
Type Description
DateTime
Remarks

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

ParentDbTag

128-bit database tag (in hex) of this database's parent database

Declaration
public string ParentDbTag
Field Value
Type Description
String
Remarks

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

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

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

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32
Remarks

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

Systemlevel

10 = central, 9 = first child, 8 = second-generation child

Declaration
public short Systemlevel
Field Value
Type Description
Int16
Remarks

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

TravelcurrentId

Primary key

Declaration
public int TravelcurrentId
Field Value
Type Description
Int32
Remarks

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

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32
Remarks

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

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full TravelCurrentRow 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 TravelCurrentTableInfo 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)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
TravelCurrentRecordDataExtensions.ToInsert(TravelCurrentRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top