Show / Hide Table of Contents

Class TextRecordData

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

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

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

Constructors

TextRecordData()

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

Declaration
public TextRecordData()
Remarks

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

Fields

HtmlText

Formatted text suitable for html text editors

Declaration
public string HtmlText
Field Value
Type Description
string
Remarks

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

Lcid

Language/culture code of the text, if known. This is a reserved field for future use

Declaration
public short Lcid
Field Value
Type Description
short
Remarks

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

OwnerId

Record ID of owner record

Declaration
public int OwnerId
Field Value
Type Description
int
Remarks

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

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

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

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

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

Seqno

Sequence number, for possible chaining of multiple records to store longer texts

Declaration
public short Seqno
Field Value
Type Description
short
Remarks

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

Text

The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases

Declaration
public string Text
Field Value
Type Description
string
Remarks

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

TextId

Primary key

Declaration
public int TextId
Field Value
Type Description
int
Remarks

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

Type

Text type, enum that specifies owning table and role

Declaration
public TextType Type
Field Value
Type Description
TextType
Remarks

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

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

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

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

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

UpdatedCount

Table number of list table that this text contains an extension of; this is obsolete functionality

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full TextRow 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 TextTableInfo 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)
TextRecordDataExtensions.ToInsertAsync(TextRecordData, 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