Class BinaryObjectLinkTableInfo
Table 'BinaryObjectLink': Link table, connects a BinaryObject with one or more owners
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("BinaryObjectLink")]
public class BinaryObjectLinkTableInfo : 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 BinaryObjectLink in the database dictionary: BinaryObjectLink
Declaration
public const string DictionaryTableName = "BinaryObjectLink"
Field Value
Type | Description |
---|---|
System.String |
Properties
BinaryObjectId
Field 'binaryObjectId' in table 'BinaryObjectLink': Dictionary type FK, .NET type: System.Int32
The binary object we link to
Declaration
public Int32FieldInfo BinaryObjectId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
BinaryObjectId_InnerJoin_BinaryObject
Generated join from the foreign key BinaryObjectId in this table, to its target table BinaryObjectTableInfo.
Declaration
public TargetedInnerJoin<BinaryObjectTableInfo> BinaryObjectId_InnerJoin_BinaryObject { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<BinaryObjectTableInfo> |
BinaryObjectLinkId
Field 'BinaryObjectLink_id' in table 'BinaryObjectLink': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo BinaryObjectLinkId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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 BinaryObjectLink 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 |
---|---|
System.Int32 |
LinkComment
Field 'linkComment' in table 'BinaryObjectLink': Dictionary type String[255], .NET type: System.String
Link comment, optional
Declaration
public StringFieldInfo LinkComment { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
LinkType
Field 'linkType' in table 'BinaryObjectLink': Dictionary type Enum, .NET type: BlobLinkType
The link type
Declaration
public BlobLinkTypeFieldInfo LinkType { get; }
Property Value
Type | Description |
---|---|
BlobLinkTypeFieldInfo |
OwnerRecord
Field 'ownerRecord' in table 'BinaryObjectLink': Dictionary type RecordId, .NET type: System.Int32
The owner record
Declaration
public Int32FieldInfo OwnerRecord { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
OwnerTable
Field 'ownerTable' in table 'BinaryObjectLink': Dictionary type TableNumber, .NET type: System.Int16
The owner table
Declaration
public UInt16FieldInfo OwnerTable { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Rank
Field 'rank' in table 'BinaryObjectLink': Dictionary type UShort, .NET type: System.Int16
Link rank, in case there are more of one type to one owner
Declaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Registered
Field 'registered' in table 'BinaryObjectLink': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'BinaryObjectLink': Dictionary type FK, .NET type: System.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 'BinaryObjectLink': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'BinaryObjectLink': Dictionary type FK, .NET type: System.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 'BinaryObjectLink': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxOwnerTable(Int16)
Shortcut method for looking up using the database index OwnerTable, which spans the following fields:
Field | Description |
---|---|
OwnerTable | The owner table |
Declaration
public Restriction IdxOwnerTable(short ownerTable)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | ownerTable |
Returns
Type | Description |
---|---|
Restriction |
IdxOwnerTableOwnerRecord(Int16, Int32)
Shortcut method for looking up using the database index OwnerTableOwnerRecord, which spans the following fields:
Field | Description |
---|---|
OwnerTable | The owner table |
OwnerRecord | The owner record |
Declaration
public Restriction IdxOwnerTableOwnerRecord(short ownerTable, int ownerRecord)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | ownerTable | |
System.Int32 | ownerRecord |
Returns
Type | Description |
---|---|
Restriction |
IdxOwnerTableOwnerRecordLinkType(Int16, Int32, BlobLinkType)
Shortcut method for looking up using the database index OwnerTableOwnerRecordLinkType, which spans the following fields:
Field | Description |
---|---|
OwnerTable | The owner table |
OwnerRecord | The owner record |
LinkType | The link type |
Declaration
public Restriction IdxOwnerTableOwnerRecordLinkType(short ownerTable, int ownerRecord, BlobLinkType linkType)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | ownerTable | |
System.Int32 | ownerRecord | |
BlobLinkType | linkType |
Returns
Type | Description |
---|---|
Restriction |