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.
Implements
Inherited Members
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 TablesInfo.GetAttachmentInfo().
Fields
DictionaryTableName
Conceptual name of table Attachment in the database dictionary: attachment
Declaration
public const string DictionaryTableName = "attachment"
Field Value
Type | Description |
---|---|
string |
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 TablesInfo.GetAttachmentInfo().
Properties
AttSize
Field 'att_size' in table 'attachment': Dictionary type Int, .NET type: int
The size (in bytes) for the attachment.Declaration
public Int32FieldInfo AttSize { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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 TablesInfo.GetAttachmentInfo().
AttachmentId
Field 'id' in table 'attachment': Dictionary type PK, .NET type: int
The primary key (auto-incremented)Declaration
public Int32FieldInfo AttachmentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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 TablesInfo.GetAttachmentInfo().
AttachmentLocationId
Field 'attachment_location_id' in table 'attachment': Dictionary type FK, target: AttachmentLocation, .NET type: int
The id of the attachment_location this attachment is stored inDeclaration
public Int32FieldInfo AttachmentLocationId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
Charset
Field 'charset' in table 'attachment': Dictionary type String[256], .NET type: string
The charset if this is a text attachmentDeclaration
public StringFieldInfo Charset { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
DbiAgentId
Field 'dbi_agent_id' in table 'attachment': Dictionary type FK, target: DbiAgent, .NET type: int
Integration agent (eJournal)Declaration
public Int32FieldInfo DbiAgentId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
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 TablesInfo.GetAttachmentInfo().
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 |
---|---|
int |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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> |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().
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 |
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 TablesInfo.GetAttachmentInfo().