Show / Hide Table of Contents

Class BinaryObjectLinkTableInfo

Table 'BinaryObjectLink': Link table, connects a BinaryObject with one or more owners

Inheritance
Object
TableInfo
BinaryObjectLinkTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
String

Properties

BinaryObjectId

Field 'binaryObjectId' in table 'BinaryObjectLink': Dictionary type FK, .NET type: 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: 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
TableInfo.Definition

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
Int32

LinkComment

Field 'linkComment' in table 'BinaryObjectLink': Dictionary type String[255], .NET type: 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: 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: 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: 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: 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: 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: 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: 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: 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:

FieldDescription
OwnerTableThe owner table
Declaration
public Restriction IdxOwnerTable(short ownerTable)
Parameters
Type Name Description
Int16 ownerTable
Returns
Type Description
Restriction

IdxOwnerTableOwnerRecord(Int16, Int32)

Shortcut method for looking up using the database index OwnerTableOwnerRecord, which spans the following fields:

FieldDescription
OwnerTableThe owner table
OwnerRecordThe owner record
Declaration
public Restriction IdxOwnerTableOwnerRecord(short ownerTable, int ownerRecord)
Parameters
Type Name Description
Int16 ownerTable
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:

FieldDescription
OwnerTableThe owner table
OwnerRecordThe owner record
LinkTypeThe link type
Declaration
public Restriction IdxOwnerTableOwnerRecordLinkType(short ownerTable, int ownerRecord, BlobLinkType linkType)
Parameters
Type Name Description
Int16 ownerTable
Int32 ownerRecord
BlobLinkType linkType
Returns
Type Description
Restriction

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top