Class QuoteLineProvider
This is the archive Provider for the QuoteLine Archive.
Inheritance
System.Object
QuoteLineProvider
Implements
Inherited Members
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, Boolean, String, ArchiveColumnInfo[])
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, IPlugin
Constructors
QuoteLineProvider()
Create the QuoteLineProvider instance
Declaration
public QuoteLineProvider()
QuoteLineProvider(QuoteLineExtenderBase.Features)
Declaration
public QuoteLineProvider(QuoteLineExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
QuoteLineExtenderBase.Features | features |
Fields
ProviderName
Declaration
public const string ProviderName = "QuoteLine"
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.String | Entity name, depending on the contents of the retired field |
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.GetEntityName(SuperOffice.Data.SoDataReader)
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
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.InnerMapFields()
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 |
Overrides
SuperOffice.CRM.ArchiveLists.TypedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow, SuperOffice.CRM.ArchiveLists.QuoteLineQuoteLineExtender>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)