Class NotificationProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("Notification", 1073741823)]
public class NotificationProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
NotificationProvider()
Declaration
public NotificationProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "Notification"
Field Value
Type | Description |
---|---|
string |
Methods
SetPagingInfo(int, int)
Set paging information for the provider.
Declaration
public override void SetPagingInfo(int pageSize, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
int | pageSize | Size of page |
int | pageNumber | Zero-based page number |
Overrides
Remarks
If there are multiple sub-providers, each needs to return a sufficient number of rows to supply the actual desired page on its own, just in case the sorting makes it the one to come up top all the time. Here we just remember the settings; the actual delegation is done in SuperOffice.CRM.ArchiveLists.MultiQueryProviderBase.MultiProviderMerge where we know how many active subproviders there are.