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 TablesInfo.GetBinaryObjectLinkInfo().
Fields
DictionaryTableName
Conceptual name of table BinaryObjectLink in the database dictionary: BinaryObjectLink
Declaration
public const string DictionaryTableName = "BinaryObjectLink"
Field Value
Type | Description |
---|---|
string |
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.GetBinaryObjectLinkInfo().
Properties
BinaryObjectId
Field 'binaryObjectId' in table 'BinaryObjectLink': Dictionary type FK, target: BinaryObject, .NET type: int
The binary object we link toDeclaration
public Int32FieldInfo BinaryObjectId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetBinaryObjectLinkInfo().
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> |
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.GetBinaryObjectLinkInfo().
BinaryObjectLinkId
Field 'BinaryObjectLink_id' in table 'BinaryObjectLink': Dictionary type PK, .NET type: int
Primary keyDeclaration
public Int32FieldInfo BinaryObjectLinkId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetBinaryObjectLinkInfo().
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
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.GetBinaryObjectLinkInfo().
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 |
---|---|
int |
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.GetBinaryObjectLinkInfo().
LinkComment
Field 'linkComment' in table 'BinaryObjectLink': Dictionary type String[255], .NET type: string
Link comment, optionalDeclaration
public StringFieldInfo LinkComment { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
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.GetBinaryObjectLinkInfo().
LinkType
Field 'linkType' in table 'BinaryObjectLink': Dictionary type Enum, .NET type: BlobLinkType
The link typeDeclaration
public BlobLinkTypeFieldInfo LinkType { get; }
Property Value
Type | Description |
---|---|
BlobLinkTypeFieldInfo |
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.GetBinaryObjectLinkInfo().
OwnerRecord
Field 'ownerRecord' in table 'BinaryObjectLink': Dictionary type RecordId, .NET type: int
The owner recordDeclaration
public Int32FieldInfo OwnerRecord { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetBinaryObjectLinkInfo().
OwnerTable
Field 'ownerTable' in table 'BinaryObjectLink': Dictionary type TableNumber, .NET type: short
The owner tableDeclaration
public UInt16FieldInfo OwnerTable { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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.GetBinaryObjectLinkInfo().
Rank
Field 'rank' in table 'BinaryObjectLink': Dictionary type UShort, .NET type: short
Link rank, in case there are more of one type to one ownerDeclaration
public UInt16FieldInfo Rank { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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.GetBinaryObjectLinkInfo().
Registered
Field 'registered' in table 'BinaryObjectLink': Dictionary type UtcDateTime, .NET type: DateTime
Registered whenDeclaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
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.GetBinaryObjectLinkInfo().
RegisteredAssociateId
Field 'registered_associate_id' in table 'BinaryObjectLink': Dictionary type FK, target: Associate, .NET type: int
Registered by whomDeclaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetBinaryObjectLinkInfo().
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> |
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.GetBinaryObjectLinkInfo().
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 |
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.GetBinaryObjectLinkInfo().
Updated
Field 'updated' in table 'BinaryObjectLink': Dictionary type UtcDateTime, .NET type: DateTime
Last updated whenDeclaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
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.GetBinaryObjectLinkInfo().
UpdatedAssociateId
Field 'updated_associate_id' in table 'BinaryObjectLink': Dictionary type FK, target: Associate, .NET type: int
Last updated by whomDeclaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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.GetBinaryObjectLinkInfo().
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> |
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.GetBinaryObjectLinkInfo().
UpdatedCount
Field 'updatedCount' in table 'BinaryObjectLink': Dictionary type UShort, .NET type: short
Number of updates made to this recordDeclaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
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.GetBinaryObjectLinkInfo().
Methods
IdxOwnerTable(short)
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 |
---|---|---|
short | ownerTable |
Returns
Type | Description |
---|---|
Restriction |
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.GetBinaryObjectLinkInfo().
IdxOwnerTableOwnerRecord(short, int)
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 |
---|---|---|
short | ownerTable | |
int | ownerRecord |
Returns
Type | Description |
---|---|
Restriction |
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.GetBinaryObjectLinkInfo().
IdxOwnerTableOwnerRecordLinkType(short, int, 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 |
---|---|---|
short | ownerTable | |
int | ownerRecord | |
BlobLinkType | linkType |
Returns
Type | Description |
---|---|
Restriction |
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.GetBinaryObjectLinkInfo().