Class ForeignDeviceTableInfo
Table 'foreigndevice': Middle level of Foreign Key system
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("foreigndevice")]
public class ForeignDeviceTableInfo : 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 ForeignDevice in the database dictionary: foreigndevice
Declaration
public const string DictionaryTableName = "foreigndevice"
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
DeviceId
Field 'device_id' in table 'foreigndevice': Dictionary type String[240], .NET type: String
Optional unique id of device (Palm pilot device ID, etc)
Declaration
public StringFieldInfo DeviceId { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
DictionaryTableNumber
Table number for table ForeignDevice 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 |
ForeignappId
Field 'foreignapp_id' in table 'foreigndevice': Dictionary type FK, .NET type: Int32
Reference to foregin application (device type)
Declaration
public Int32FieldInfo ForeignappId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ForeignappId_InnerJoin_ForeignApp
Generated join from the foreign key ForeignappId in this table, to its target table ForeignAppTableInfo.
Declaration
public TargetedInnerJoin<ForeignAppTableInfo> ForeignappId_InnerJoin_ForeignApp { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ForeignAppTableInfo> |
ForeigndeviceId
Field 'foreigndevice_id' in table 'foreigndevice': Dictionary type PK, .NET type: Int32
Primary key
Declaration
public Int32FieldInfo ForeigndeviceId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Lastsynced
Field 'lastsynced' in table 'foreigndevice': Dictionary type DateTime, .NET type: DateTime
Last sync date
Declaration
public DateTimeFieldInfo Lastsynced { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LastsyncedTrans
Field 'lastsynced_trans' in table 'foreigndevice': Dictionary type DateTime, .NET type: DateTime
Last sync traveltransactionlog id number
Declaration
public DateTimeFieldInfo LastsyncedTrans { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
LeftOuterJoin_ForeignKey_ForeigndeviceId
Generated left outer join from the primary key ForeigndeviceId on this table, to ForeignKey.ForeigndeviceId.
Declaration
public TargetedLeftOuterJoin<ForeignKeyTableInfo> LeftOuterJoin_ForeignKey_ForeigndeviceId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<ForeignKeyTableInfo> |
Name
Field 'name' in table 'foreigndevice': Dictionary type String[32], .NET type: String
Name of device
Declaration
public StringFieldInfo Name { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
OwnerId
Field 'owner_id' in table 'foreigndevice': Dictionary type FK, .NET type: Int32
Reference to SO user owning this device
Declaration
public Int32FieldInfo OwnerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
OwnerId_InnerJoin_Associate
Generated join from the foreign key OwnerId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> OwnerId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
Registered
Field 'registered' in table 'foreigndevice': 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 'foreigndevice': 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 |
Updated
Field 'updated' in table 'foreigndevice': 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 'foreigndevice': 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 'foreigndevice': Dictionary type UShort, .NET type: Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |