Show / Hide Table of Contents

Class DocumentRecordData

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

Inheritance
Object
DocumentRecordData
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 DocumentRecordData
Remarks

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

Constructors

DocumentRecordData()

Declaration
public DocumentRecordData()

Fields

ApplicationId

Application this document was made with

Declaration
public int ApplicationId
Field Value
Type Description
Int32

AppointmentId

points back to owning appointment

Declaration
public int AppointmentId
Field Value
Type Description
Int32

ArchiveProvider

Document plugin id copied from the DocTmpl.autoevent_id - tells us where the document content is stored

Declaration
public int ArchiveProvider
Field Value
Type Description
Int32

Attention

Attention/salutation

Declaration
public string Attention
Field Value
Type Description
String

DocumentId

Primary key

Declaration
public int DocumentId
Field Value
Type Description
Int32

Extref

External reference (notes ID, email ID, URL, whatever) for use by document plugin in locating document content

Declaration
public string Extref
Field Value
Type Description
String

ExtUrl

For DocPlugin-internal use only. Used to optionally cache URL of external documents.

Declaration
public string ExtUrl
Field Value
Type Description
String

Header

Visible document name

Declaration
public string Header
Field Value
Type Description
String

Name

File name

Declaration
public string Name
Field Value
Type Description
String

OurRef

Our reference, searchable field from freetext search

Declaration
public string OurRef
Field Value
Type Description
String

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

Searchname

Searchable name (not used?)

Declaration
public string Searchname
Field Value
Type Description
String

Snum

The sequence number allocated from refcount on used template when creating the document

Declaration
public int Snum
Field Value
Type Description
Int32

TextId

Pointer to optional long description

Declaration
public int TextId
Field Value
Type Description
Int32

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

Userdef2Id

User-defined fields

Declaration
public int Userdef2Id
Field Value
Type Description
Int32

UserdefId

User-defined fields

Declaration
public int UserdefId
Field Value
Type Description
Int32

YourRef

Your reference

Declaration
public string YourRef
Field Value
Type Description
String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
DocumentRecordDataExtensions.ToInsert(DocumentRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top