Class RequestNotificationProvider
Inheritance
RequestNotificationProvider
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("RequestNotification", 1073741823)]
public class RequestNotificationProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
RequestNotificationProvider()
Declaration
public RequestNotificationProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "RequestNotification"
Field Value
Methods
AcceptRow(ArchiveRow)
If the ticketId is 0, it indicates that the user has lost access rights to the ticket, and the corresponding notification should be filtered out
Declaration
protected override bool AcceptRow(ArchiveRow row)
Parameters
Returns
Overrides
GetRowsAsync(string, CancellationToken)
Get the result enumerator. Accessing this enumerator will cause all sub query providers to be initialized
in parallell (subject to global thread limits), rows will be skipped according to the current page settings,
and results will come in the order specified by the current order by settings. Restrictions, desired columns, entities
etc must be set before accessing this property.
Declaration
public override IAsyncEnumerable<ArchiveRow> GetRowsAsync(string options, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
InnerPopulateRow(ArchiveRow)
This virtual method is called after a row has been selected as being the 'next' to be
returned by this multi query provider, and provides an opportunity to modify it before
it is returned to the client.
Declaration
protected override void InnerPopulateRow(ArchiveRow row)
Parameters
| Type |
Name |
Description |
| ArchiveRow |
row |
Row being processed, may be modified (with due care)
|
Overrides
SetDesiredColumns(params string[])
Set the desired columns. This information is simply propagated to all sub providers. If rows are fetched from
providers that do not have a value for any particular column, the ColumnData member of the ArchiveRow structure will
be null in that row/column
Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
| Type |
Name |
Description |
| string[] |
columnIds |
Array of column ids as strings
|
Overrides
Implements
Extension Methods