Table of Contents

Class TableInfo

Namespace
Sage.CRM.Utils
Assembly
SageCRMNet.dll

A class to represent information about a CRM table. GetTableInfo(string)

public class TableInfo
Inheritance
TableInfo
Inherited Members

Properties

Caption

The caption assigned to this table. Caption should always be unique within all CRM tables (readonly).

public string Caption { get; }

Property Value

string

CompanyField

The fieldname of the field on the table that stores the Company ID of the company that each record is linked to, if applicable (readonly).

public string CompanyField { get; }

Property Value

string

DescriptionField

Description field for a table (entity) (readonly).

public string DescriptionField { get; }

Property Value

string

EntityKind

Type of Entity. Can be one of the following: blank, core, asp, dotnet or virtual. Blank is the same as core.

public string EntityKind { get; }

Property Value

string

ExternalTable

Return true if is a table connection.

public bool ExternalTable { get; }

Property Value

bool

Id

The ID of this table within Custom_Tables (readonly).

public int Id { get; }

Property Value

int

IdField

The field name within the table that stores the unique ID for each record (readonly).

public string IdField { get; }

Property Value

string

Key

Gets the table key field.

public int Key { get; }

Property Value

int

Name

The actual name of the table (readonly).

public string Name { get; }

Property Value

string

PersonField

The fieldname of the field on the table that stores the Person ID of the Person that each record is linked to, if applicable (readonly).

public string PersonField { get; }

Property Value

string

Prefix

The prefix of the table (readonly). This is a fixed string that prefixes all the column names on the table. Only applicable for standard CRM tables.

public string Prefix { get; }

Property Value

string

PrimaryTable

True if this table is a primary table (readonly).

public bool PrimaryTable { get; }

Property Value

bool

TeamField

The fieldname of the field on the table that stores the Team ID for the record, if applicable (readonly).

public string TeamField { get; }

Property Value

string

UserField

The fieldname of the field on the table that stores the User ID of the user that each record is assigned to, if applicable (readonly).

public string UserField { get; }

Property Value

string

ViewAction

The View Action assigned to table (entity) (readonly).

public int ViewAction { get; }

Property Value

int

ViewFileName

File name to view ASP (ASP file) or .NET (assembly file) entity.

public string ViewFileName { get; }

Property Value

string

ViewMethod

Method name to run .NET entity summary page (used with corresponding ViewFileName).

public string ViewMethod { get; }

Property Value

string

Methods

~TableInfo()

Destructor for the TableInfo class.

protected ~TableInfo()