Show / Hide Table of Contents

Class SelectionMemberTableInfo

Table 'selectionmember': Selection detail table Each row in a selection is represented by one record in this table. Contact_id is always filled in, person_id is optional, but if used, must point to a person belonging to the contact in contact_id.

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

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

Properties

ContactId

Field 'contact_id' in table 'selectionmember': Dictionary type FK, .NET type: Int32

Contact ID of selection member

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

ContactId_InnerJoin_Contact

Generated join from the foreign key ContactId in this table, to its target table ContactTableInfo.

Declaration
public TargetedInnerJoin<ContactTableInfo> ContactId_InnerJoin_Contact { get; }
Property Value
Type Description
TargetedInnerJoin<ContactTableInfo>

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

PersonId

Field 'person_id' in table 'selectionmember': Dictionary type FK, .NET type: Int32

Person ID of selection member, if person

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

PersonId_InnerJoin_Person

Generated join from the foreign key PersonId in this table, to its target table PersonTableInfo.

Declaration
public TargetedInnerJoin<PersonTableInfo> PersonId_InnerJoin_Person { get; }
Property Value
Type Description
TargetedInnerJoin<PersonTableInfo>

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

SelectionId

Field 'selection_id' in table 'selectionmember': Dictionary type FK, .NET type: Int32

Owning selection

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

SelectionId_InnerJoin_Selection

Generated join from the foreign key SelectionId in this table, to its target table SelectionTableInfo.

Declaration
public TargetedInnerJoin<SelectionTableInfo> SelectionId_InnerJoin_Selection { get; }
Property Value
Type Description
TargetedInnerJoin<SelectionTableInfo>

SelectionmemberId

Field 'selectionmember_id' in table 'selectionmember': Dictionary type PK, .NET type: Int32

Primary key

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

TargetRecordId

Field 'targetRecordId' in table 'selectionmember': Dictionary type RecordId, .NET type: Int32

Record id of the target that this selection member points to

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

TargetTableNumber

Field 'targetTableNumber' in table 'selectionmember': Dictionary type TableNumber, .NET type: Int16

Table number of the target that this selection member points to

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

Methods

IdxContactId(Int32)

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

FieldDescription
ContactIdContact ID of selection member
Declaration
public Restriction IdxContactId(int contactId)
Parameters
Type Name Description
Int32 contactId
Returns
Type Description
Restriction

IdxSelectionId(Int32)

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

FieldDescription
SelectionIdOwning selection
Declaration
public Restriction IdxSelectionId(int selectionId)
Parameters
Type Name Description
Int32 selectionId
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