Class SimpleDocumentTemplateInfo
Plain-old-data implementation of IDocumentTemplateInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)
Implements
Inherited Members
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class SimpleDocumentTemplateInfo : IDocumentTemplateInfo
Constructors
SimpleDocumentTemplateInfo()
Plain-old-data implementation of IDocumentTemplateInfo, intended for situations where the client knows everything and does not want the database to be involved (for instance, when running on unsaved data)
Declaration
public SimpleDocumentTemplateInfo()
Properties
DocumentStoredInPluginId
The id of the document plugin that handles the document generated from the template. i.e. the destination plugin. Stored in DocTmpl.AutoEventId in the database.
Declaration
public int DocumentStoredInPluginId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ExternalReference
Physical name of the document template. URL or Filename of the content. Stored in database as DocTmpl.Filename
Declaration
public string ExternalReference { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Primary key of the document template.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsDeleted
True, if the document is deleted.
Declaration
public bool IsDeleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MimeType
Mime Type of the document template. Set by the document plugin during template creation.
Declaration
public string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Display Name of the document template (in lists).
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rank
Order for the document template.
Declaration
public int Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Registered
When the template was created.
Declaration
public DateTime Registered { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
TemplateStoredInPluginId
The id of the document plugin that handles the document template. i.e. the source plugin. Stored in DocTmpl.LoadTemplateFromPlugin in the database.
Declaration
public int TemplateStoredInPluginId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Tooltip
Tooltip description for the document template
Declaration
public string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Updated
When the template was last updated.
Declaration
public DateTime Updated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |