Class ExternalOwnerTableInfo
Table 'external_owner': Owner of external data imported into the system
Implements
Inherited Members
Namespace: SuperOfficeCRMData
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("external_owner")]
public class ExternalOwnerTableInfo : 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 TablesInfo.GetExternalOwnerInfo().
Fields
DictionaryTableName
Conceptual name of table ExternalOwner in the database dictionary: external_owner
Declaration
public const string DictionaryTableName = "external_owner"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Checksum
Field 'checksum' in table 'external_owner': Dictionary type String[4001], .NET type: string
Optional checksum of data to detect tampering
Declaration
public StringFieldInfo Checksum { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
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 ExternalOwner 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 |
|---|---|
| int |
ExternalOwnerId
Field 'external_owner_id' in table 'external_owner': Dictionary type PK, .NET type: int
Primary key
Declaration
public Int32FieldInfo ExternalOwnerId { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
Owner
Field 'owner' in table 'external_owner': Dictionary type Enum, .NET type: ExternalOwner
The owner of this row
Declaration
public ExternalOwnerFieldInfo Owner { get; }
Property Value
| Type | Description |
|---|---|
| ExternalOwnerFieldInfo |
Registered
Field 'registered' in table 'external_owner': 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 'external_owner': Dictionary type FK, target: Associate, .NET type: int
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 |
|---|---|
| TargetedInnerJoinAssociateTableInfo |
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 |
SourceKey
Field 'sourceKey' in table 'external_owner': Dictionary type String[513], .NET type: string
A string in the owner chosen format to uniqly indicate the source of this record
Declaration
public StringFieldInfo SourceKey { get; }
Property Value
| Type | Description |
|---|---|
| StringFieldInfo |
TargetRecord
Field 'targetRecord' in table 'external_owner': Dictionary type RecordId, .NET type: int
The record id of the written record
Declaration
public Int32FieldInfo TargetRecord { get; }
Property Value
| Type | Description |
|---|---|
| Int32FieldInfo |
TargetTable
Field 'targetTable' in table 'external_owner': Dictionary type TableNumber, .NET type: short
The table the record is written to
Declaration
public UInt16FieldInfo TargetTable { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |
Updated
Field 'updated' in table 'external_owner': 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 'external_owner': Dictionary type FK, target: Associate, .NET type: int
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 |
|---|---|
| TargetedInnerJoinAssociateTableInfo |
UpdatedCount
Field 'updatedCount' in table 'external_owner': Dictionary type UShort, .NET type: short
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
| Type | Description |
|---|---|
| UInt16FieldInfo |