Show / Hide Table of Contents

Class SORPublishRecordData

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

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

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

Constructors

SORPublishRecordData()

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

Declaration
public SORPublishRecordData()
Remarks

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

Fields

AssociateId

Owner id; 0=SO standard template; 0xFFFFFFFF=owner is Template User (?)

Declaration
public int AssociateId
Field Value
Type Description
int
Remarks

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

CCount

Label template: column count; Calendar Week: work start hour; otherwise unused (0)

Declaration
public short CCount
Field Value
Type Description
short
Remarks

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

DefaultLabelLayout

Default template ID

Declaration
public int DefaultLabelLayout
Field Value
Type Description
int
Remarks

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

Description

Description text (long)

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

DescriptionResId

ResId of description if translatable text

Declaration
public uint DescriptionResId
Field Value
Type Description
uint
Remarks

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

ForceDefault

Don't ask the user if there is a default, just use it

Declaration
public short ForceDefault
Field Value
Type Description
short
Remarks

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

IsBuiltIn

Is this row a Standard Report? (reset to 0 if report is edited)

Declaration
public short IsBuiltIn
Field Value
Type Description
short
Remarks

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

IsEdited

Has this (standard) report been edited? This is nice to know during the next upgrade, to avoid trampling on customizations

Declaration
public short IsEdited
Field Value
Type Description
short
Remarks

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

Name

Template name

Declaration
public string Name
Field Value
Type Description
string
Remarks

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

NameResId

Resource ID for translatable tempalte names; otherwise 0

Declaration
public uint NameResId
Field Value
Type Description
uint
Remarks

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

SORPublishId

Primary key

Declaration
public int SORPublishId
Field Value
Type Description
int
Remarks

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

SORTemplateId

Owning template

Declaration
public int SORTemplateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full SORPublishRow 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 SORPublishTableInfo 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 SORPublishRow 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 SORPublishTableInfo 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 SORPublishRow 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 SORPublishTableInfo 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 SORPublishRow 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 SORPublishTableInfo 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)
SORPublishRecordDataExtensions.ToInsertAsync(SORPublishRecordData, 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