[ArchiveProvider("RecycleTicket", 1073741823)]
public class RecycleTicketProvider : TypedQueryProviderBase<ArchiveRow, RecycleTicketExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Decide whether the current row of the passed-in _reader should be accepted or not.
If false is returned, this row is skipped by the base class and never seen by the client. This
method is called very early, before any ArchiveRow population, and can only rely on fields directly
accessible in the Reader. On the other hand, that makes is reasonably cheap to skip rows.
If you implement this method, you MUST aslo implement
RequiredPhaseOneFields() to tell the
query rewriter about fields you need, otherwise they will not be present in the phase one query and you will crash.
Override: If no-one in the subclass has set the link hint up to now, then do so, using the row entity name and primary key
Set the restriction by calling the base class and InnerSetRestriction; take this opportunity to note
that a restriction has actually been set, so we can report cases of totally missing restrictions
(which is not acceptable as it might end up fetching the whole database)