Show / Hide Table of Contents

Class FavouriteTableInfo

Table 'Favourite': Favourite records (star-marking)

Inheritance
Object
TableInfo
FavouriteTableInfo
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("Favourite")]
public class FavouriteTableInfo : 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 Favourite in the database dictionary: Favourite

Declaration
public const string DictionaryTableName = "Favourite"
Field Value
Type Description
String

Properties

AssociateId

Field 'associate_id' in table 'Favourite': Dictionary type FK, .NET type: Int32

The user who has marked this favourited

Declaration
public Int32FieldInfo AssociateId { get; }
Property Value
Type Description
Int32FieldInfo

AssociateId_InnerJoin_Associate

Generated join from the foreign key AssociateId in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> AssociateId_InnerJoin_Associate { get; }
Property Value
Type Description
TargetedInnerJoin<AssociateTableInfo>

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 Favourite 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

ExtraInfo

Field 'extra_info' in table 'Favourite': Dictionary type String[255], .NET type: String

Optional extra information

Declaration
public StringFieldInfo ExtraInfo { get; }
Property Value
Type Description
StringFieldInfo

FavouriteId

Field 'Favourite_id' in table 'Favourite': Dictionary type PK, .NET type: Int32

Primary key

Declaration
public Int32FieldInfo FavouriteId { get; }
Property Value
Type Description
Int32FieldInfo

Rank

Field 'Rank' in table 'Favourite': Dictionary type Int, .NET type: Int32

Rank order

Declaration
public Int32FieldInfo Rank { get; }
Property Value
Type Description
Int32FieldInfo

RecordId

Field 'record_id' in table 'Favourite': Dictionary type RecordId, .NET type: Int32

Record in the referenced table

Declaration
public Int32FieldInfo RecordId { get; }
Property Value
Type Description
Int32FieldInfo

Registered

Field 'registered' in table 'Favourite': Dictionary type DateTime, .NET type: DateTime

Registered datetime

Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type Description
DateTimeFieldInfo

RegisteredBy

Field 'registered_by' in table 'Favourite': Dictionary type FK, .NET type: Int32

Registered by whom

Declaration
public Int32FieldInfo RegisteredBy { get; }
Property Value
Type Description
Int32FieldInfo

RegisteredBy_InnerJoin_Associate

Generated join from the foreign key RegisteredBy in this table, to its target table AssociateTableInfo.

Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredBy_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

TableId

Field 'table_id' in table 'Favourite': Dictionary type TableNumber, .NET type: Int16

SuperOffice table reference

Declaration
public UInt16FieldInfo TableId { get; }
Property Value
Type Description
UInt16FieldInfo

Methods

IdxRecordId(Int32)

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

FieldDescription
RecordIdRecord in the referenced table
Declaration
public Restriction IdxRecordId(int recordId)
Parameters
Type Name Description
Int32 recordId
Returns
Type Description
Restriction

IdxRecordIdAssociateId(Int32, Int32)

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

FieldDescription
RecordIdRecord in the referenced table
AssociateIdThe user who has marked this favourited
Declaration
public Restriction IdxRecordIdAssociateId(int recordId, int associateId)
Parameters
Type Name Description
Int32 recordId
Int32 associateId
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