Class MergeDocumentListProvider
MDO list provider for documents marked as type MailMergeDraft.
Inherited Members
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[MDOProviderPlugin("mergedocument")]
public class MergeDocumentListProvider : DocumentListProvider, ISoListProvider, ISoList
Constructors
MergeDocumentListProvider()
Constructor
Declaration
public MergeDocumentListProvider()
Fields
ProviderName
MDO list provider for documents marked as type MailMergeDraft.
Declaration
public const string ProviderName = "mergedocument"
Field Value
Type | Description |
---|---|
string |
Properties
HistoryInfo
History information for a history of type MailMerge.
Declaration
public override HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
Overrides
Methods
GetMainQuery()
Get the main query for returning mailmerge documents.
Declaration
protected override Select GetMainQuery()
Returns
Type | Description |
---|---|
Select |
Overrides
OnRead(SoDataReader, short)
Raised every time a new row has been read from the database.
If the ISoListItem.Name is empty, it is replaced with a resource string for (blank).
Declaration
protected override ISoListItem OnRead(SoDataReader reader, short lastRank)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Reader to reaf from. |
short | lastRank | Value of the last rank populated. |
Returns
Type | Description |
---|---|
ISoListItem | Data read from the reader. |
Overrides
SetHistoryRestriction(Select)
Set History restriction to the query. Only histories with extraId = MailMergeDraft are returned.
Declaration
protected override void SetHistoryRestriction(Select sql)
Parameters
Type | Name | Description |
---|---|---|
Select | sql | The query to modify. |