Class RedLetterDayRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the redletterday table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class RedLetterDayRecordData : Object
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
RedLetterDayRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the redletterday table.
Declaration
public RedLetterDayRecordData()
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Color
color can be one of the following: RLD_COLOR_BLACK, RLD_COLOR_RED, RLD_COLOR_SPES
Declaration
public short Color
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Colored
The n´th bit corresponding to the date in dates month, is true if the color is active.
Declaration
public uint Colored
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
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 int CountryId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
ExtraFlags
Extra flags, spare field
Declaration
public uint ExtraFlags
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Reddate
The date
Declaration
public DateTime Reddate
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RedletterdayId
Primary key
Declaration
public int RedletterdayId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Reds
The n´th bit corresponding to the date in dates month, is true if the color is active.
Declaration
public uint Reds
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
RgbColour
Actual RGB colour index
Declaration
public uint RgbColour
Field Value
Type | Description |
---|---|
UInt32 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Text
Text to show on the date
Declaration
public string Text
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full RedLetterDayRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding RedLetterDayTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.