Show / Hide Table of Contents

Class DocDocumentRecordData

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

Inheritance
Object
DocDocumentRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class DocDocumentRecordData : Object
Remarks

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

Constructors

DocDocumentRecordData()

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

Declaration
public DocDocumentRecordData()
Remarks

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

Fields

AccessLevel

The access level of the document

Declaration
public short AccessLevel
Field Value
Type Description
Int16
Remarks

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

AttachmentId

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

Declaration
public int AttachmentId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full DocDocumentRow 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 DocDocumentTableInfo 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
Int32
Remarks

Please use this class instead of a full DocDocumentRow 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 DocDocumentTableInfo 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 DocDocumentRow 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 DocDocumentTableInfo 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
Int32
Remarks

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

Description

A descriptive text for the document

Declaration
public string Description
Field Value
Type Description
String
Remarks

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

DocDocumentId

The primary key (auto-incremented)

Declaration
public int DocDocumentId
Field Value
Type Description
Int32
Remarks

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

FolderId

The id of the document folder this entry is located in.

Declaration
public int FolderId
Field Value
Type Description
Int32
Remarks

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

IdString

A field for an id_string which may be used to access the document

Declaration
public string IdString
Field Value
Type Description
String
Remarks

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

Status

The status of the document

Declaration
public short Status
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full DocDocumentRow 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 DocDocumentTableInfo 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 DocDocumentRow 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 DocDocumentTableInfo 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)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
DocDocumentRecordDataExtensions.ToInsert(DocDocumentRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top