Show / Hide Table of Contents

Class AssociateHistoryTableInfo

Table 'AssociateHistory': Historical information about associates that have been deleted. Most references are NOT declared as foreign keys; this is a historical table that should not be updated when further changes occur in the database

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

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

Properties

AssociateHistoryId

Field 'associatehistory_id' in table 'AssociateHistory': Dictionary type PK, .NET type: Int32

Primary key

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

AssociateId

Field 'associateId' in table 'AssociateHistory': Dictionary type Int, .NET type: Int32

The original primary key of the deleted associate

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

ContactId

Field 'contactId' in table 'AssociateHistory': Dictionary type Int, .NET type: Int32

The original contact_id

Declaration
public Int32FieldInfo ContactId { 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 AssociateHistory 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

EjUserId

Field 'ejUserId' in table 'AssociateHistory': Dictionary type Int, .NET type: Int32

The ejuser reference, if any

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

Firstname

Field 'firstname' in table 'AssociateHistory': Dictionary type String[100], .NET type: String

First name

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

GroupId

Field 'groupId' in table 'AssociateHistory': Dictionary type Int, .NET type: Int32

The group id

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

Lastname

Field 'lastname' in table 'AssociateHistory': Dictionary type String[100], .NET type: String

Last name

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

LocationAddress

Field 'locationAddress' in table 'AssociateHistory': Dictionary type String[240], .NET type: String

Address of location, if this is a resource that is a location

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

MiddleName

Field 'middleName' in table 'AssociateHistory': Dictionary type String[100], .NET type: String

Middle name or 'van' etc.

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

Name

Field 'name' in table 'AssociateHistory': Dictionary type String[256], .NET type: String

The associate name/initials

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

OriginalRegistered

Field 'originalRegistered' in table 'AssociateHistory': Dictionary type UtcDateTime, .NET type: DateTime

Registered when

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

PersonId

Field 'personId' in table 'AssociateHistory': Dictionary type Int, .NET type: Int32

The person id

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

Registered

Field 'registered' in table 'AssociateHistory': 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 'AssociateHistory': 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

Type

Field 'type' in table 'AssociateHistory': Dictionary type Enum, .NET type: AssociateType

Associate type

Declaration
public AssociateTypeFieldInfo Type { get; }
Property Value
Type Description
AssociateTypeFieldInfo

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