Show / Hide Table of Contents

Class MessageHeaderRecordData

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

Inheritance
object
MessageHeaderRecordData
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 MessageHeaderRecordData
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

MessageHeaderRecordData()

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

Declaration
public MessageHeaderRecordData()
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

HeaderValue

A value for this entry.

Declaration
public string HeaderValue
Field Value
Type Description
string
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MessageHeaderId

The primary key (auto-incremented)

Declaration
public int MessageHeaderId
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

MessageId

The id of the message this header entry is connected to.

Declaration
public int MessageId
Field Value
Type Description
int
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Name

A name for this entry.

Declaration
public string Name
Field Value
Type Description
string
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

StdItem

If this has a value, it indicates that a standard header text from the language database should be used - and witch one to use.

Declaration
public short StdItem
Field Value
Type Description
short
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

StdItemCol

If this is 1, concatenate the standard item text with header name field, if 2 use header value field instead. If this col is 0, use the empty field - preferably the value column.

Declaration
public short StdItemCol
Field Value
Type Description
short
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Type

The type for this header entry.

Declaration
public short Type
Field Value
Type Description
short
Remarks

Please use this class instead of a full MessageHeaderRow 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 MessageHeaderTableInfo 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)
MessageHeaderRecordDataExtensions.ToInsertAsync(MessageHeaderRecordData, 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