Show / Hide Table of Contents

Class RedLetterDayTableInfo

Table 'redletterday': Red letter days for calendar (holidays, birthday of king etc)

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

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

Properties

Color

Field 'color' in table 'redletterday': Dictionary type UShort, .NET type: Int16

color can be one of the following: RLD_COLOR_BLACK, RLD_COLOR_RED, RLD_COLOR_SPES

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

Colored

Field 'colored' in table 'redletterday': Dictionary type UInt, .NET type: UInt32

The n´th bit corresponding to the date in dates month, is true if the color is active.

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

CountryId

Field 'country_id' in table 'redletterday': Dictionary type FK, .NET type: Int32

Which country does this red letter day belong to. It will show up in the diary for associates with this country as homecountry.

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

CountryId_InnerJoin_Country

Generated join from the foreign key CountryId in this table, to its target table CountryTableInfo.

Declaration
public TargetedInnerJoin<CountryTableInfo> CountryId_InnerJoin_Country { get; }
Property Value
Type Description
TargetedInnerJoin<CountryTableInfo>

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

ExtraFlags

Field 'extraFlags' in table 'redletterday': Dictionary type UInt, .NET type: UInt32

Extra flags, spare field

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

Reddate

Field 'reddate' in table 'redletterday': Dictionary type DateTime, .NET type: DateTime

The date

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

RedletterdayId

Field 'redletterday_id' in table 'redletterday': Dictionary type PK, .NET type: Int32

Primary key

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

Reds

Field 'reds' in table 'redletterday': Dictionary type UInt, .NET type: UInt32

The n´th bit corresponding to the date in dates month, is true if the color is active.

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

RgbColour

Field 'rgbColour' in table 'redletterday': Dictionary type UInt, .NET type: UInt32

Actual RGB colour index

Declaration
public FieldInfo RgbColour { 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

Text

Field 'text' in table 'redletterday': Dictionary type String[80], .NET type: String

Text to show on the date

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

UpdatedCount

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

Number of updates made to this record

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

Methods

IdxCountryId(Int32)

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

FieldDescription
CountryIdWhich country does this red letter day belong to. It will show up in the diary for associates with this country as homecountry.
Declaration
public Restriction IdxCountryId(int countryId)
Parameters
Type Name Description
Int32 countryId
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