Show / Hide Table of Contents

Class SORFieldRecordData

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

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

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

Constructors

SORFieldRecordData()

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

Declaration
public SORFieldRecordData()
Remarks

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

Fields

Alignment

0=left, 1=right, 2=center

Declaration
public short Alignment
Field Value
Type Description
short
Remarks

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

Content

Field: db field name; Label: caption; image: file name; otherwise - empty

Declaration
public string Content
Field Value
Type Description
string
Remarks

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

ContentResId

resource id if translatable resource

Declaration
public uint ContentResId
Field Value
Type Description
uint
Remarks

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

DataFormat

Field format mask

Declaration
public string DataFormat
Field Value
Type Description
string
Remarks

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

FieldType

field, label, line, image, pagenr, pages, date, associatename

Declaration
public string FieldType
Field Value
Type Description
string
Remarks

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

FontBold

1=bold

Declaration
public short FontBold
Field Value
Type Description
short
Remarks

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

FontColor

colour index

Declaration
public int FontColor
Field Value
Type Description
int
Remarks

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

FontItalic

1=iatlic

Declaration
public short FontItalic
Field Value
Type Description
short
Remarks

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

FontName

Name of font

Declaration
public string FontName
Field Value
Type Description
string
Remarks

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

FontSize

In points

Declaration
public short FontSize
Field Value
Type Description
short
Remarks

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

FontStrikethrough

1=strikethrough

Declaration
public short FontStrikethrough
Field Value
Type Description
short
Remarks

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

FontUnderline

1=underline

Declaration
public short FontUnderline
Field Value
Type Description
short
Remarks

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

Func

-1=NULL, 0=ddSFSum, 1=ddSFAvg, 2=ddSFCount, 3=dSFMin, 4=ddSFMax

Declaration
public short Func
Field Value
Type Description
short
Remarks

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

GroupType

-1=NULL, 0=ddSMNone, 1=ddSMGrandTotal, 2=ddSMPageTotal, 3=ddSMSubTotal, 4=ddSMPageCount

Declaration
public short GroupType
Field Value
Type Description
short
Remarks

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

Running

-1=NULL, 0=ddSRNone, 1=ddSRGroup, 2=ddSRAll

Declaration
public short Running
Field Value
Type Description
short
Remarks

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

SORFieldId

Primary key

Declaration
public int SORFieldId
Field Value
Type Description
int
Remarks

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

SORSectionId

Foreign key to Section

Declaration
public int SORSectionId
Field Value
Type Description
int
Remarks

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

SetHeight

height in twips

Declaration
public uint SetHeight
Field Value
Type Description
uint
Remarks

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

SetLeft

left position in twips

Declaration
public uint SetLeft
Field Value
Type Description
uint
Remarks

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

SetTop

top position in twips

Declaration
public uint SetTop
Field Value
Type Description
uint
Remarks

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

SetWidth

width in twips

Declaration
public uint SetWidth
Field Value
Type Description
uint
Remarks

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

Sgroup

Which group to use for heading: GroupHeader1-3 or empty string

Declaration
public string Sgroup
Field Value
Type Description
string
Remarks

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

Visible

Is field visible, 1=true

Declaration
public short Visible
Field Value
Type Description
short
Remarks

Please use this class instead of a full SORFieldRow 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 SORFieldTableInfo 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)
SORFieldRecordDataExtensions.ToInsertAsync(SORFieldRecordData, 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