Show / Hide Table of Contents

Class AttachmentRecordData

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

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

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

Constructors

AttachmentRecordData()

Declaration
public AttachmentRecordData()

Fields

AttachmentId

The primary key (auto-incremented)

Declaration
public int AttachmentId
Field Value
Type Description
Int32

AttachmentLocationId

The id of the attachment_location this attachment is stored in

Declaration
public int AttachmentLocationId
Field Value
Type Description
Int32

AttSize

The size (in bytes) for the attachment.

Declaration
public int AttSize
Field Value
Type Description
Int32

AuthKey

The key used for authenticating access to this attachment.

Declaration
public string AuthKey
Field Value
Type Description
String

Charset

The charset if this is a text attachment

Declaration
public string Charset
Field Value
Type Description
String

ContentType

The content type for the attachment (e.g. 'applaction/octet-stream' or 'application/vnd.openxmlformats-officedocument.wordprocessingml.document').

Declaration
public string ContentType
Field Value
Type Description
String

DbiAgentId

Integration agent (eJournal)

Declaration
public int DbiAgentId
Field Value
Type Description
Int32

DbiKey

The primary key for the integrated entry in the external datasource.

Declaration
public string DbiKey
Field Value
Type Description
String

DbiLastModified

When the entry was last modified.

Declaration
public DateTime DbiLastModified
Field Value
Type Description
DateTime

DbiLastSyncronized

Last external syncronization.

Declaration
public DateTime DbiLastSyncronized
Field Value
Type Description
DateTime

Name

The filename for the attachment.

Declaration
public string Name
Field Value
Type Description
String

Extension Methods

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