Show / Hide Table of Contents

Class ExternalDocumentRecordData

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

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

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

Constructors

ExternalDocumentRecordData()

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

Declaration
public ExternalDocumentRecordData()
Remarks

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

Fields

AttachmentId

The attachment.id for the attachment associated with this external document.

Declaration
public int AttachmentId
Field Value
Type Description
int
Remarks

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

ChangedBy

Who last changed the document

Declaration
public int ChangedBy
Field Value
Type Description
int
Remarks

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

CreatedAt

When the document was created

Declaration
public DateTime CreatedAt
Field Value
Type Description
DateTime
Remarks

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

CreatedBy

Who created the document

Declaration
public int CreatedBy
Field Value
Type Description
int
Remarks

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

Deleted

A boolean telling if the external document is to be treated as deleted

Declaration
public short Deleted
Field Value
Type Description
short
Remarks

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

Description

The description of the external document

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

ExternalDocumentId

Primary key

Declaration
public int ExternalDocumentId
Field Value
Type Description
int
Remarks

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

HierarchyId

This document belongs to the following folder

Declaration
public int HierarchyId
Field Value
Type Description
int
Remarks

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

LastChanged

When the document last was changed

Declaration
public DateTime LastChanged
Field Value
Type Description
DateTime
Remarks

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

SMessage

Relation to s_message if this document is an image in a newsletter

Declaration
public int SMessage
Field Value
Type Description
int
Remarks

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

Title

The title for the document

Declaration
public string Title
Field Value
Type Description
string
Remarks

Please use this class instead of a full ExternalDocumentRow 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 ExternalDocumentTableInfo 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)
ExternalDocumentRecordDataExtensions.ToInsertAsync(ExternalDocumentRecordData, 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