Show / Hide Table of Contents

Class SORTemplateTableInfo

Table 'SORTemplate': SuperOffice reporter data

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

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

Properties

BottomMargin

Field 'bottomMargin' in table 'SORTemplate': Dictionary type UInt, .NET type: UInt32

in TWIPS

Declaration
public FieldInfo BottomMargin { get; }
Property Value
Type Description
FieldInfo

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

Layout

Field 'layout' in table 'SORTemplate': Dictionary type UShort, .NET type: Int16

1=list, 2=label, 3=group, 4=cross, 5=calendar, 6=calendar week, 7=calendar month

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

LeftMargin

Field 'leftMargin' in table 'SORTemplate': Dictionary type UInt, .NET type: UInt32

in TWIPS

Declaration
public FieldInfo LeftMargin { get; }
Property Value
Type Description
FieldInfo

LeftOuterJoin_SORPublish_SORTemplateId

Generated left outer join from the primary key SORTemplateId on this table, to SORPublish.SORTemplateId.

Declaration
public TargetedLeftOuterJoin<SORPublishTableInfo> LeftOuterJoin_SORPublish_SORTemplateId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<SORPublishTableInfo>

LeftOuterJoin_SORSection_SORTemplateId

Generated left outer join from the primary key SORTemplateId on this table, to SORSection.SORTemplateId.

Declaration
public TargetedLeftOuterJoin<SORSectionTableInfo> LeftOuterJoin_SORSection_SORTemplateId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<SORSectionTableInfo>

OrderBy

Field 'orderBy' in table 'SORTemplate': Dictionary type String[255], .NET type: String

list of ORDER BY fields

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

Orientation

Field 'orientation' in table 'SORTemplate': Dictionary type UShort, .NET type: Int16

1=portrait, 2=landscape

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

PrintWidth

Field 'printWidth' in table 'SORTemplate': Dictionary type UInt, .NET type: UInt32

in TWIPS

Declaration
public FieldInfo PrintWidth { get; }
Property Value
Type Description
FieldInfo

Published

Field 'published' in table 'SORTemplate': Dictionary type UShort, .NET type: Int16

1=pubshed, 0=not published

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

Registered

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

RightMargin

Field 'rightMargin' in table 'SORTemplate': Dictionary type UInt, .NET type: UInt32

in TWIPS

Declaration
public FieldInfo RightMargin { get; }
Property Value
Type Description
FieldInfo

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

SORTemplateId

Field 'SORTemplate_id' in table 'SORTemplate': Dictionary type PK, .NET type: Int32

Primary key

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

Subject

Field 'subject' in table 'SORTemplate': Dictionary type UShort, .NET type: Int16

2=contact, 3=project, 4=sale, 5=activities, 6=selection

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

TopMargin

Field 'topMargin' in table 'SORTemplate': Dictionary type UInt, .NET type: UInt32

in TWIPS

Declaration
public FieldInfo TopMargin { get; }
Property Value
Type Description
FieldInfo

Updated

Field 'updated' in table 'SORTemplate': Dictionary type UtcDateTime, .NET type: DateTime

Last updated when

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

UpdatedAssociateId

Field 'updated_associate_id' in table 'SORTemplate': Dictionary type FK, .NET type: Int32

Last updated by whom

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

UpdatedAssociateId_InnerJoin_Associate

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

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

UpdatedCount

Field 'updatedCount' in table 'SORTemplate': Dictionary type UShort, .NET type: Int16

Number of updates made to this record

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

ViewName

Field 'viewName' in table 'SORTemplate': Dictionary type String[30], .NET type: String

View name

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

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