Show / Hide Table of Contents

Class AutosaveRecordData

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

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

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

Constructors

AutosaveRecordData()

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

Declaration
public AutosaveRecordData()
Remarks

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

Fields

AutosaveId

The primary key (auto-incremented)

Declaration
public int AutosaveId
Field Value
Type Description
int
Remarks

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

ContentType

The enum used as identificator

Declaration
public int ContentType
Field Value
Type Description
int
Remarks

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

CreatedAt

When the autosave was saved.

Declaration
public DateTime CreatedAt
Field Value
Type Description
DateTime
Remarks

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

Data

The rawtext of the autosave.

Declaration
public string Data
Field Value
Type Description
string
Remarks

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

IndexId

Index id of element that's autosaved

Declaration
public int IndexId
Field Value
Type Description
int
Remarks

Please use this class instead of a full AutosaveRow 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 AutosaveTableInfo 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)
AutosaveRecordDataExtensions.ToInsertAsync(AutosaveRecordData, 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