Class TicketTicketRelationExtender
Inheritance
TicketTicketRelationExtender
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class TicketTicketRelationExtender : TableExtenderBase<TicketRelationTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
TicketTicketRelationExtender()
Declaration
public TicketTicketRelationExtender()
Fields
SourceTicketId
Declaration
public const string SourceTicketId = "sourceTicketId"
Field Value
Declaration
protected ArchiveColumnInfo _colComment
Field Value
_colRelationType
Declaration
protected ArchiveColumnInfo _colRelationType
Field Value
_colSourceTicketId
Declaration
protected ArchiveColumnInfo _colSourceTicketId
Field Value
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
PopulateRowFromReaderAsync(SoDataReader, ArchiveRow, CancellationToken)
Declaration
public override Task PopulateRowFromReaderAsync(SoDataReader reader, ArchiveRow row, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
SetJoin()
Subclass contract: Implementations of this method should create the extenders' table information object, join it to the relevant parent, and return the table information instance
Declaration
protected override TicketRelationTableInfo SetJoin()
Returns
Overrides
Implements
Extension Methods