Show / Hide Table of Contents

Class SORTemplateRecordData

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

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

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

Constructors

SORTemplateRecordData()

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

Declaration
public SORTemplateRecordData()
Remarks

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

Fields

BottomMargin

in TWIPS

Declaration
public uint BottomMargin
Field Value
Type Description
uint
Remarks

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

Layout

1=list, 2=label, 3=group, 4=cross, 5=calendar, 6=calendar week, 7=calendar month

Declaration
public short Layout
Field Value
Type Description
short
Remarks

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

LeftMargin

in TWIPS

Declaration
public uint LeftMargin
Field Value
Type Description
uint
Remarks

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

OrderBy

list of ORDER BY fields

Declaration
public string OrderBy
Field Value
Type Description
string
Remarks

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

Orientation

1=portrait, 2=landscape

Declaration
public short Orientation
Field Value
Type Description
short
Remarks

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

PrintWidth

in TWIPS

Declaration
public uint PrintWidth
Field Value
Type Description
uint
Remarks

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

Published

1=pubshed, 0=not published

Declaration
public short Published
Field Value
Type Description
short
Remarks

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

RightMargin

in TWIPS

Declaration
public uint RightMargin
Field Value
Type Description
uint
Remarks

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

SORTemplateId

Primary key

Declaration
public int SORTemplateId
Field Value
Type Description
int
Remarks

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

Subject

2=contact, 3=project, 4=sale, 5=activities, 6=selection

Declaration
public short Subject
Field Value
Type Description
short
Remarks

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

TopMargin

in TWIPS

Declaration
public uint TopMargin
Field Value
Type Description
uint
Remarks

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

ViewName

View name

Declaration
public string ViewName
Field Value
Type Description
string
Remarks

Please use this class instead of a full SORTemplateRow 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 SORTemplateTableInfo 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)
SORTemplateRecordDataExtensions.ToInsertAsync(SORTemplateRecordData, 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