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
System.Object
DocDocumentRecordData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

Constructors

DocDocumentRecordData()

Declaration
public DocDocumentRecordData()

Fields

AccessLevel

The access level of the document

Declaration
public short AccessLevel
Field Value
Type Description
System.Int16

AttachmentId

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

Declaration
public int AttachmentId
Field Value
Type Description
System.Int32

ChangedBy

Who last changed the document

Declaration
public int ChangedBy
Field Value
Type Description
System.Int32

CreatedAt

When the document was created

Declaration
public DateTime CreatedAt
Field Value
Type Description
System.DateTime

CreatedBy

Who created the document

Declaration
public int CreatedBy
Field Value
Type Description
System.Int32

Description

A descriptive text for the document

Declaration
public string Description
Field Value
Type Description
System.String

DocDocumentId

The primary key (auto-incremented)

Declaration
public int DocDocumentId
Field Value
Type Description
System.Int32

FolderId

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

Declaration
public int FolderId
Field Value
Type Description
System.Int32

IdString

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

Declaration
public string IdString
Field Value
Type Description
System.String

LastChanged

When the document last was changed

Declaration
public DateTime LastChanged
Field Value
Type Description
System.DateTime

Status

The status of the document

Declaration
public short Status
Field Value
Type Description
System.Int16

Title

The title for the document

Declaration
public string Title
Field Value
Type Description
System.String

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