Show / Hide Table of Contents

Class AttachmentTableInfo

Table 'attachment': This table contains metadata for attachments. The actual attachments are stored directly on disk, with filenames based on the the primary key for this table.

Inheritance
Object
TableInfo
AttachmentTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("attachment")]
public class AttachmentTableInfo : TableInfo, ICloneable
Remarks

An instance of this class represents one instance of this table in an SQL statement. In most cases each table appears only once in a SELECT, but in cases where you need to self-join, or there are multiple occurrences for other reasons (typically additional restrictions in the joins), then you will need multiple instances.
Instances of this class are created by calling .

Fields

DictionaryTableName

Conceptual name of table Attachment in the database dictionary: attachment

Declaration
public const string DictionaryTableName = "attachment"
Field Value
Type Description
String

Properties

AttachmentId

Field 'id' in table 'attachment': Dictionary type PK, .NET type: Int32

The primary key (auto-incremented)

Declaration
public Int32FieldInfo AttachmentId { get; }
Property Value
Type Description
Int32FieldInfo

AttachmentLocationId

Field 'attachment_location_id' in table 'attachment': Dictionary type FK, .NET type: Int32

The id of the attachment_location this attachment is stored in

Declaration
public Int32FieldInfo AttachmentLocationId { get; }
Property Value
Type Description
Int32FieldInfo

AttachmentLocationId_InnerJoin_AttachmentLocation

Generated join from the foreign key AttachmentLocationId in this table, to its target table AttachmentLocationTableInfo.

Declaration
public TargetedInnerJoin<AttachmentLocationTableInfo> AttachmentLocationId_InnerJoin_AttachmentLocation { get; }
Property Value
Type Description
TargetedInnerJoin<AttachmentLocationTableInfo>

AttSize

Field 'att_size' in table 'attachment': Dictionary type Int, .NET type: Int32

The size (in bytes) for the attachment.

Declaration
public Int32FieldInfo AttSize { get; }
Property Value
Type Description
Int32FieldInfo

AuthKey

Field 'auth_key' in table 'attachment': Dictionary type String[256], .NET type: String

The key used for authenticating access to this attachment.

Declaration
public StringFieldInfo AuthKey { get; }
Property Value
Type Description
StringFieldInfo

Charset

Field 'charset' in table 'attachment': Dictionary type String[256], .NET type: String

The charset if this is a text attachment

Declaration
public StringFieldInfo Charset { get; }
Property Value
Type Description
StringFieldInfo

ContentType

Field 'content_type' in table 'attachment': Dictionary type String[256], .NET type: String

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

Declaration
public StringFieldInfo ContentType { get; }
Property Value
Type Description
StringFieldInfo

DbiAgentId

Field 'dbi_agent_id' in table 'attachment': Dictionary type FK, .NET type: Int32

Integration agent (eJournal)

Declaration
public Int32FieldInfo DbiAgentId { get; }
Property Value
Type Description
Int32FieldInfo

DbiAgentId_InnerJoin_DbiAgent

Generated join from the foreign key DbiAgentId in this table, to its target table DbiAgentTableInfo.

Declaration
public TargetedInnerJoin<DbiAgentTableInfo> DbiAgentId_InnerJoin_DbiAgent { get; }
Property Value
Type Description
TargetedInnerJoin<DbiAgentTableInfo>

DbiKey

Field 'dbi_key' in table 'attachment': Dictionary type String[256], .NET type: String

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

Declaration
public StringFieldInfo DbiKey { get; }
Property Value
Type Description
StringFieldInfo

DbiLastModified

Field 'dbi_last_modified' in table 'attachment': Dictionary type DateTime, .NET type: DateTime

When the entry was last modified.

Declaration
public DateTimeFieldInfo DbiLastModified { get; }
Property Value
Type Description
DateTimeFieldInfo

DbiLastSyncronized

Field 'dbi_last_syncronized' in table 'attachment': Dictionary type DateTime, .NET type: DateTime

Last external syncronization.

Declaration
public DateTimeFieldInfo DbiLastSyncronized { get; }
Property Value
Type Description
DateTimeFieldInfo

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

DictionaryTableNumber

Table number for table Attachment in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database

Declaration
public int DictionaryTableNumber { get; }
Property Value
Type Description
Int32

LeftOuterJoin_DocDocument_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to DocDocument.AttachmentId.

Declaration
public TargetedLeftOuterJoin<DocDocumentTableInfo> LeftOuterJoin_DocDocument_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<DocDocumentTableInfo>

LeftOuterJoin_EjMessage_BodyAttachment

Generated left outer join from the primary key AttachmentId on this table, to EjMessage.BodyAttachment.

Declaration
public TargetedLeftOuterJoin<EjMessageTableInfo> LeftOuterJoin_EjMessage_BodyAttachment { get; }
Property Value
Type Description
TargetedLeftOuterJoin<EjMessageTableInfo>

LeftOuterJoin_EjMessage_HtmlBodyAttachment

Generated left outer join from the primary key AttachmentId on this table, to EjMessage.HtmlBodyAttachment.

Declaration
public TargetedLeftOuterJoin<EjMessageTableInfo> LeftOuterJoin_EjMessage_HtmlBodyAttachment { get; }
Property Value
Type Description
TargetedLeftOuterJoin<EjMessageTableInfo>

LeftOuterJoin_Ejpackage_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to Ejpackage.AttachmentId.

Declaration
public TargetedLeftOuterJoin<EjpackageTableInfo> LeftOuterJoin_Ejpackage_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<EjpackageTableInfo>

LeftOuterJoin_Ejuser_PictureId

Generated left outer join from the primary key AttachmentId on this table, to Ejuser.PictureId.

Declaration
public TargetedLeftOuterJoin<EjuserTableInfo> LeftOuterJoin_Ejuser_PictureId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<EjuserTableInfo>

LeftOuterJoin_ExternalDocument_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to ExternalDocument.AttachmentId.

Declaration
public TargetedLeftOuterJoin<ExternalDocumentTableInfo> LeftOuterJoin_ExternalDocument_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<ExternalDocumentTableInfo>

LeftOuterJoin_KbAttachment_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to KbAttachment.AttachmentId.

Declaration
public TargetedLeftOuterJoin<KbAttachmentTableInfo> LeftOuterJoin_KbAttachment_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<KbAttachmentTableInfo>

LeftOuterJoin_ReplyTemplateAttachment_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to ReplyTemplateAttachment.AttachmentId.

Declaration
public TargetedLeftOuterJoin<ReplyTemplateAttachmentTableInfo> LeftOuterJoin_ReplyTemplateAttachment_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<ReplyTemplateAttachmentTableInfo>

LeftOuterJoin_SAttachment_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to SAttachment.AttachmentId.

Declaration
public TargetedLeftOuterJoin<SAttachmentTableInfo> LeftOuterJoin_SAttachment_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<SAttachmentTableInfo>

LeftOuterJoin_SPictureEntry_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to SPictureEntry.AttachmentId.

Declaration
public TargetedLeftOuterJoin<SPictureEntryTableInfo> LeftOuterJoin_SPictureEntry_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<SPictureEntryTableInfo>

LeftOuterJoin_TicketAttachment_AttachmentId

Generated left outer join from the primary key AttachmentId on this table, to TicketAttachment.AttachmentId.

Declaration
public TargetedLeftOuterJoin<TicketAttachmentTableInfo> LeftOuterJoin_TicketAttachment_AttachmentId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<TicketAttachmentTableInfo>

Name

Field 'name' in table 'attachment': Dictionary type String[256], .NET type: String

The filename for the attachment.

Declaration
public StringFieldInfo Name { get; }
Property Value
Type Description
StringFieldInfo

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type Description
SoTable

Implements

System.ICloneable

Extension Methods

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