Class QuoteLineProvider
This is the archive Provider for the QuoteLine Archive.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("QuoteLine", 1073741823)]
public class QuoteLineProvider : TypedQueryProviderBase<ArchiveRow, QuoteLineQuoteLineExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
QuoteLineProvider()
Create the QuoteLineProvider instance
Declaration
public QuoteLineProvider()
QuoteLineProvider(Features)
This is the archive Provider for the QuoteLine Archive.
Declaration
public QuoteLineProvider(QuoteLineExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
QuoteLineExtenderBase.Features | features |
Fields
ProviderName
This is the archive Provider for the QuoteLine Archive.
Declaration
public const string ProviderName = "QuoteLine"
Field Value
Type | Description |
---|---|
string |
Methods
GetEntityName(SoDataReader)
Determine the proper entity name for a raw row
Declaration
protected override string GetEntityName(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | SoDataReader with the current row |
Returns
Type | Description |
---|---|
string | Entity name, depending on the contents of the retired field |
Overrides
InnerMapFields()
Map fields during building of the query. We ensure the presence of the retired field in the query, needed to determine which entity a row belongs to. Depending on chosen entities, we may also add a a restriction to avoid fetching retired persons, since that entity is optional.
Declaration
public override void InnerMapFields()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate data return rows from the reader. Since the provider is essentially just a wrapper around the PersonPersonExtender, this method does nothing.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | SoDataReader with data |
ArchiveRow | row | Row to populate |