Show / Hide Table of Contents

Class SLinkCustomerTableInfo

Table 's_link_customer': A connection between a customer and a link. Registered customers are identified when clicking on a link

Inheritance
object
TableInfo
SLinkCustomerTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(params 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.this[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("s_link_customer")]
public class SLinkCustomerTableInfo : 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.GetSLinkCustomerInfo().

Fields

DictionaryTableName

Conceptual name of table SLinkCustomer in the database dictionary: s_link_customer

Declaration
public const string DictionaryTableName = "s_link_customer"
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.GetSLinkCustomerInfo().

Properties

CustomerId

Field 'customer_id' in table 's_link_customer': Dictionary type FK, target: Person, .NET type: int

Connection to a customer that clicked on a link
Declaration
public Int32FieldInfo CustomerId { 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.GetSLinkCustomerInfo().

CustomerId_InnerJoin_Person

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

Declaration
public TargetedInnerJoin<PersonTableInfo> CustomerId_InnerJoin_Person { get; }
Property Value
Type Description
TargetedInnerJoin<PersonTableInfo>
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.GetSLinkCustomerInfo().

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
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.GetSLinkCustomerInfo().

DictionaryTableNumber

Table number for table SLinkCustomer 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.GetSLinkCustomerInfo().

HttpUserAgent

Field 'http_user_agent' in table 's_link_customer': Dictionary type String[1025], .NET type: string

The HTTP_USER_AGENT reported when the customer opened this link
Declaration
public StringFieldInfo HttpUserAgent { 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.GetSLinkCustomerInfo().

LinkId

Field 'link_id' in table 's_link_customer': Dictionary type FK, target: SLink, .NET type: int

Connection to a link that the customer clicked on
Declaration
public Int32FieldInfo LinkId { 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.GetSLinkCustomerInfo().

LinkId_InnerJoin_SLink

Generated join from the foreign key LinkId in this table, to its target table SLinkTableInfo.

Declaration
public TargetedInnerJoin<SLinkTableInfo> LinkId_InnerJoin_SLink { get; }
Property Value
Type Description
TargetedInnerJoin<SLinkTableInfo>
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.GetSLinkCustomerInfo().

LinkType

Field 'link_type' in table 's_link_customer': Dictionary type Enum, .NET type: ShipmentLinkType

If this is a link to a link or an image (gif/jpeg). See SpmLink::LinkType
Declaration
public ShipmentLinkTypeFieldInfo LinkType { get; }
Property Value
Type Description
ShipmentLinkTypeFieldInfo
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.GetSLinkCustomerInfo().

Page

Field 'page' in table 's_link_customer': Dictionary type Int, .NET type: int

Indicates the page number for this gif link
Declaration
public Int32FieldInfo Page { 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.GetSLinkCustomerInfo().

Pressed

Field 'pressed' in table 's_link_customer': Dictionary type DateTime, .NET type: DateTime

When the link was clicked.
Declaration
public DateTimeFieldInfo Pressed { 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.GetSLinkCustomerInfo().

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.GetSLinkCustomerInfo().

SLinkCustomerId

Field 'id' in table 's_link_customer': Dictionary type PK, .NET type: int

Primary key
Declaration
public Int32FieldInfo SLinkCustomerId { 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.GetSLinkCustomerInfo().

ShipmentId

Field 'shipment_id' in table 's_link_customer': Dictionary type FK, target: SShipment, .NET type: int

Which shipment the customer received.
Declaration
public Int32FieldInfo ShipmentId { 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.GetSLinkCustomerInfo().

ShipmentId_InnerJoin_SShipment

Generated join from the foreign key ShipmentId in this table, to its target table SShipmentTableInfo.

Declaration
public TargetedInnerJoin<SShipmentTableInfo> ShipmentId_InnerJoin_SShipment { get; }
Property Value
Type Description
TargetedInnerJoin<SShipmentTableInfo>
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.GetSLinkCustomerInfo().

Methods

IdxLinkType(ShipmentLinkType)

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

FieldDescription
LinkTypeIf this is a link to a link or an image (gif/jpeg). See SpmLink::LinkType
Declaration
public Restriction IdxLinkType(ShipmentLinkType linkType)
Parameters
Type Name Description
ShipmentLinkType 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.GetSLinkCustomerInfo().

IdxShipmentId(int)

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

FieldDescription
ShipmentIdWhich shipment the customer received.
Declaration
public Restriction IdxShipmentId(int shipmentId)
Parameters
Type Name Description
int shipmentId
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.GetSLinkCustomerInfo().

Implements

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