Class DocumentListItem
DocumentListItem contains the attributes for the document list item used in DocumentList.
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class DocumentListItem : ListItemBase<DocumentList.DocumentListQuery>
Constructors
DocumentListItem(DocumentListQuery, SoDataReader)
Default constructor
Declaration
public DocumentListItem(DocumentList.DocumentListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentList.DocumentListQuery | query | |
| SoDataReader | reader |
Properties
AssociateFormalName
Get AssociateFormalName
Declaration
public string AssociateFormalName { get; }
Property Value
| Type | Description |
|---|---|
| string |
AssociateFullName
Get AssociateFullName
Declaration
public string AssociateFullName { get; }
Property Value
| Type | Description |
|---|---|
| string |
AssociateId
Get AssociateId
Declaration
public int AssociateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Attention
Get Attention
Declaration
public string Attention { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactId
Get ContactId
Declaration
public int ContactId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ContactName
Get ContactName
Declaration
public string ContactName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Get Description
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
DocumentId
Get DocumentId
Declaration
public int DocumentId { get; }
Property Value
| Type | Description |
|---|---|
| int |
DocumentTemplate
Get DocumentTemplate
Declaration
public string DocumentTemplate { get; }
Property Value
| Type | Description |
|---|---|
| string |
DocumentTemplateId
Get DocumentTemplateId
Declaration
public int DocumentTemplateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
EventDate
Get EventDate
Declaration
public DateTime EventDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
ForExternalPersons
Get ForExternalPersons
Declaration
public bool ForExternalPersons { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Header
Get Header
Declaration
public string Header { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsPublished
Get IsPublished
Declaration
public bool IsPublished { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Get Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
OurRef
Get OurRef
Declaration
public string OurRef { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonFormalName
Get PersonFormalName
Declaration
public string PersonFormalName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonFullName
Get PersonFullName
Declaration
public string PersonFullName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonId
Get PersonId
Declaration
public int PersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ProjectId
Get ProjectId
Declaration
public int ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ProjectName
Get ProjectName
Declaration
public string ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PublishedFrom
Get PublishedFrom
Declaration
public DateTime PublishedFrom { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
PublishedTo
Get PublishedTo
Declaration
public DateTime PublishedTo { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
SaleId
Get SaleId
Declaration
public int SaleId { get; }
Property Value
| Type | Description |
|---|---|
| int |
SaleName
Get SaleName
Declaration
public string SaleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
YourRef
Get YourRef
Declaration
public string YourRef { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetDocumentListItemAsync(int, CancellationToken)
DocumentListItem contains the attributes for the document list item used in DocumentList.
Declaration
public static Task<DocumentListItem> GetDocumentListItemAsync(int documentId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | documentId | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<DocumentListItem> |
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(DocumentListQuery, SoDataReader)
Responsible for reading the current row in the data reader and insert the value in the right part ob the object.
Declaration
protected override void Load(DocumentList.DocumentListQuery query, SoDataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentList.DocumentListQuery | query | |
| SoDataReader | reader | The reader contains the items data. |