Class RedLetterDayTableInfo
Table 'redletterday': Red letter days for calendar (holidays, birthday of king etc)
Implements
Inherited Members
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
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:
Field | Description |
---|---|
CountryId | 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 Restriction IdxCountryId(int countryId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | countryId |
Returns
Type | Description |
---|---|
Restriction |