Show / Hide Table of Contents

Class SORLabelLayoutRecordData

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

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

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

Constructors

SORLabelLayoutRecordData()

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

Declaration
public SORLabelLayoutRecordData()
Remarks

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

Fields

BottomMargin

Bottom margin in twips

Declaration
public uint BottomMargin
Field Value
Type Description
uint
Remarks

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

CountColumns

Number og columns

Declaration
public short CountColumns
Field Value
Type Description
short
Remarks

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

CountRows

Number of rows

Declaration
public short CountRows
Field Value
Type Description
short
Remarks

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

Description

Description

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

LabelHeight

Calculated: (paperHeight - topMargin - bottomMargin) / countRows

Declaration
public uint LabelHeight
Field Value
Type Description
uint
Remarks

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

LeftMargin

Left margin in twips

Declaration
public uint LeftMargin
Field Value
Type Description
uint
Remarks

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

Name

Name of the label layout

Declaration
public string Name
Field Value
Type Description
string
Remarks

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

Orientation

Paper orientation: 1=portrait, 2=landscape

Declaration
public short Orientation
Field Value
Type Description
short
Remarks

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

PaperHeight

Paper height in twips

Declaration
public uint PaperHeight
Field Value
Type Description
uint
Remarks

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

PaperWidth

Paper width in twips

Declaration
public uint PaperWidth
Field Value
Type Description
uint
Remarks

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

PrintWidth

Calculated: (paperWidth - leftMargin - rightMargin) / countColumns

Declaration
public uint PrintWidth
Field Value
Type Description
uint
Remarks

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

RightMargin

Right margin in twips

Declaration
public uint RightMargin
Field Value
Type Description
uint
Remarks

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

SORLabelLayoutId

Primary key

Declaration
public int SORLabelLayoutId
Field Value
Type Description
int
Remarks

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

TopMargin

Top margin in twips

Declaration
public uint TopMargin
Field Value
Type Description
uint
Remarks

Please use this class instead of a full SORLabelLayoutRow 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 SORLabelLayoutTableInfo 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 SORLabelLayoutRow 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 SORLabelLayoutTableInfo 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 SORLabelLayoutRow 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 SORLabelLayoutTableInfo 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 SORLabelLayoutRow 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 SORLabelLayoutTableInfo 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)
SORLabelLayoutRecordDataExtensions.ToInsertAsync(SORLabelLayoutRecordData, 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