Class VisibleForExtenderBase
Base class for VisibleFor columns, when you need to know what the actual visiblefor status is, as compared to merely being restricted by it
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class VisibleForExtenderBase : TableExtenderBase<VisibleForTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
VisibleForExtenderBase()
Base class for VisibleFor columns, when you need to know what the actual visiblefor status is, as compared to merely being restricted by it
Declaration
protected VisibleForExtenderBase()
Fields
_colVisibleFor
Base class for VisibleFor columns, when you need to know what the actual visiblefor status is, as compared to merely being restricted by it
Declaration
protected ArchiveColumnInfo _colVisibleFor
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Methods
InnerModifyQuery()
Template method called from ModifyQuery() during query processing; subclasses should implement it to build their queries. It will ONLY be called if IsQueryNeeded returns true.
Declaration
protected override void InnerModifyQuery()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Derived classes should implement the population of ColumnData items for columns that are NOT handled by this base class in this method. Whether a column is handled by this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Data reader with the query result (one row) |
ArchiveRow | row | archive row to be populated |
Overrides
ProcessRestrictions()
Visiblefor restrictions follow the convential that int.MinValue means 'all', positive values are associates and negative values are groups. It is not possible to specify multiple values.
Declaration
protected override bool ProcessRestrictions()
Returns
Type | Description |
---|---|
bool |