Show / Hide Table of Contents

Class RedLetterDayRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the redletterday table.

Inheritance
object
RedLetterDayRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

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
short
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
uint
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
int
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
uint
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
int
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
uint
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
uint
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
short
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.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
RedLetterDayRecordDataExtensions.ToInsertAsync(RedLetterDayRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top