Show / Hide Table of Contents

Class PriceListExtenderBase

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Inheritance
object
ExtensibleColumnsBase
ExtenderBase<PriceListTableInfo>
TableExtenderBase<PriceListTableInfo>
PriceListExtenderBase
PricelistPricelistExtender
ProductPriceListExtender
Implements
IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible
Inherited Members
TableExtenderBase<PriceListTableInfo>._ourTable
TableExtenderBase<PriceListTableInfo>.ModifyQuery()
TableExtenderBase<PriceListTableInfo>.TableToExtend
TableExtenderBase<PriceListTableInfo>.MainTableName
ExtenderBase<PriceListTableInfo>.SetJoin()
ExtenderBase<PriceListTableInfo>.GetRankRestriction(FieldInfo)
ExtenderBase<PriceListTableInfo>.StyleHintPrefix
ExtensibleColumnsBase._minuteFields
ExtensibleColumnsBase.Visible
ExtensibleColumnsBase.Invisible
ExtensibleColumnsBase.AllowOrderBy
ExtensibleColumnsBase.DenyOrderBy
ExtensibleColumnsBase.GetAllRestriction
ExtensibleColumnsBase.GetNoneRestriction
ExtensibleColumnsBase.GetNameOrOverrideName(string)
ExtensibleColumnsBase.SetParent(IArchiveProviderExtensible)
ExtensibleColumnsBase.AddAvailableColumn(params ArchiveColumnInfo[])
ExtensibleColumnsBase.GetAvailableColumns()
ExtensibleColumnsBase.SetDesiredColumns(params string[])
ExtensibleColumnsBase.SetOrderBy(ArchiveOrderByInfo[])
ExtensibleColumnsBase.SetOrderByMapping(string, params string[])
ExtensibleColumnsBase.SetOrderByMapping(ArchiveColumnInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.SetPrefixes(string, string)
ExtensibleColumnsBase.SetLocalAbsolutePrefixes(string, string)
ExtensibleColumnsBase.SetIconHint(string)
ExtensibleColumnsBase.SetRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddLocalRestriction(params ArchiveRestrictionInfo[])
ExtensibleColumnsBase.AddExtensionProvider(IArchiveExtender)
ExtensibleColumnsBase.GetExtensionProviders()
ExtensibleColumnsBase.GetTableInfosFromExtensionProviders()
ExtensibleColumnsBase.PopulateRowFromReaderAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.SuppressTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.SuppressDeepTableResults(SoDataReader, TableInfo)
ExtensibleColumnsBase.AddColumnNameOverride(string, string)
ExtensibleColumnsBase.ApplyColumnNameOverridesToRestrictions()
ExtensibleColumnsBase.ApplyColumnNameOverrides(ArchiveRow)
ExtensibleColumnsBase.AddSubExtenderMapping(string, params ExtensibleColumnsBase[])
ExtensibleColumnsBase.WantColumnForOutput(params string[])
ExtensibleColumnsBase.WantColumnForOutput(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOutput(List<ArchiveColumnInfo>)
ExtensibleColumnsBase.WantColumnForRestriction(params string[])
ExtensibleColumnsBase.WantColumnForRestriction(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForOrderBy(params string[])
ExtensibleColumnsBase.GetColumnOrderBy(string)
ExtensibleColumnsBase.WantColumnForOrderBy(params ArchiveColumnInfo[])
ExtensibleColumnsBase.WantColumnForAnything(params string[])
ExtensibleColumnsBase.WantColumnForAnything(params ArchiveColumnInfo[])
ExtensibleColumnsBase.IsQueryNeeded()
ExtensibleColumnsBase.IsQueryRestriction()
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.GetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterJoin(Equal, Restriction)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal)
ExtensibleColumnsBase.SetLeftOuterOrInnerJoin(Equal, Restriction)
ExtensibleColumnsBase.MapReturnField(ArchiveSelect, FieldInfo, bool, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapIdField(FieldInfo)
ExtensibleColumnsBase.MapAssociateField(FieldInfo, ArchiveColumnInfo, bool)
ExtensibleColumnsBase.MapEjUserField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.MapSimpleReturnField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleImageField(FieldInfo, ArchiveColumnInfo, int, int)
ExtensibleColumnsBase.MapPictureBlob(FieldInfo, ArchiveColumnInfo, BlobLinkType, int, int, int)
ExtensibleColumnsBase.MapSimpleCustomField(FieldInfo, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapSimpleListReturnField(FieldInfo, string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.MapOrderByField(FieldInfo, ArchiveColumnInfo)
ExtensibleColumnsBase.ActivateAsLinkField(string, params ArchiveColumnInfo[])
ExtensibleColumnsBase.HasAvailableColumn(string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType, string, string)
ExtensibleColumnsBase.AddAndInitializeExtensionProvider<ExtenderType>(ExtenderType)
ExtensibleColumnsBase.HasRestriction(string)
ExtensibleColumnsBase.ExtractRestrictions(string)
ExtensibleColumnsBase.ExtractRestrictions(ArchiveColumnInfo)
ExtensibleColumnsBase.ExtractRestriction(string)
ExtensibleColumnsBase.ExtractRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.ProcessRestrictions()
ExtensibleColumnsBase.ProcessOrderBy()
ExtensibleColumnsBase.PopulateSimpleFieldsAsync(SoDataReader, ArchiveRow, CancellationToken)
ExtensibleColumnsBase.CalculateOrderbyValue(string, SoDataReader, ArchiveColumnData)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, FieldInfo)
ExtensibleColumnsBase.AddDbInfo(ArchiveColumnData, int)
ExtensibleColumnsBase.ForceDisable()
ExtensibleColumnsBase.GetAssociateData(int)
ExtensibleColumnsBase.GetEjUserData(int)
ExtensibleColumnsBase.GetColumnIndex(ArchiveColumnInfo)
ExtensibleColumnsBase.GetColumnIndexFromReader(SoDataReader, FieldInfo, ref int)
ExtensibleColumnsBase.ConvertDbTypeToString(object, ExtensibleColumnsBase.DbColumnBinding)
ExtensibleColumnsBase.GetStandardTooltipHint(SoDataReader, FieldInfo)
ExtensibleColumnsBase.GetLinkHint(SoDataReader, string)
ExtensibleColumnsBase.SetNonZeroBoolRestriction(ArchiveColumnInfo)
ExtensibleColumnsBase.AddUpdatedByMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddRegisteredMapping(ArchiveColumnInfo, FieldInfo, ArchiveColumnInfo, FieldInfo)
ExtensibleColumnsBase.AddLastUpdatedMapping(ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedBy(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo)
ExtensibleColumnsBase.AddUpdatedDate(SoDataReader, ArchiveRow, ArchiveColumnInfo, FieldInfo, FieldInfo, bool)
ExtensibleColumnsBase.AddAssociateFullName(SoDataReader, ArchiveRow, ArchiveColumnInfo, params FieldInfo[])
ExtensibleColumnsBase.GetIdFieldTag(SoDataReader)
ExtensibleColumnsBase.GetArchiveColumnName(SoField)
ExtensibleColumnsBase.ExtensibleHelper
ExtensibleColumnsBase.ColumnHelper
ExtensibleColumnsBase.RestrictionHelper
ExtensibleColumnsBase.Parent
ExtensibleColumnsBase.DisableSubtreeIfNoRestriction
ExtensibleColumnsBase.RestrictionSetForSubtree
ExtensibleColumnsBase.ForceQueryNeeded
ExtensibleColumnsBase.ForceRestriction
ExtensibleColumnsBase.BlockOrderBy
ExtensibleColumnsBase.IdField
ExtensibleColumnsBase.LastSubExtenderWins
ExtensibleColumnsBase.ParentPrimaryKey
ExtensibleColumnsBase.QuoteAlternativeId
ExtensibleColumnsBase.SaleId
ExtensibleColumnsBase.NamePrefix
ExtensibleColumnsBase.DisplayNamePrefix
ExtensibleColumnsBase.RootQuery
ExtensibleColumnsBase.OrderBySlots
ExtensibleColumnsBase.PopulateDisplayValue
ExtensibleColumnsBase.PopulateTooltipHint
ExtensibleColumnsBase.DebugXML
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class PriceListExtenderBase : TableExtenderBase<PriceListTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible

Constructors

PriceListExtenderBase()

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected PriceListExtenderBase()

Fields

ColumnName

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
public const string ColumnName = "name"
Field Value
Type Description
string

_colCurrency

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colCurrency
Field Value
Type Description
ArchiveColumnInfo

_colDescription

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colDescription
Field Value
Type Description
ArchiveColumnInfo

_colERPPriceListKey

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colERPPriceListKey
Field Value
Type Description
ArchiveColumnInfo

_colIsActive

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colIsActive
Field Value
Type Description
ArchiveColumnInfo

_colIsERPCopy

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colIsERPCopy
Field Value
Type Description
ArchiveColumnInfo

_colName

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colName
Field Value
Type Description
ArchiveColumnInfo

_colPriceListId

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colPriceListId
Field Value
Type Description
ArchiveColumnInfo

_colQuoteConnection

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colQuoteConnection
Field Value
Type Description
ArchiveColumnInfo

_colRegisteredBy

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colRegisteredBy
Field Value
Type Description
ArchiveColumnInfo

_colRegisteredDate

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colRegisteredDate
Field Value
Type Description
ArchiveColumnInfo

_colUpdatedBy

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colUpdatedBy
Field Value
Type Description
ArchiveColumnInfo

_colUpdatedDate

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colUpdatedDate
Field Value
Type Description
ArchiveColumnInfo

_colValidFrom

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colValidFrom
Field Value
Type Description
ArchiveColumnInfo

_colValidTo

This is the base class for all extenders that add PriceList fields to their base query. It handles all pricelist-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join a PriceListTableInfo to the RootQuery.

Declaration
protected ArchiveColumnInfo _colValidTo
Field Value
Type Description
ArchiveColumnInfo

Methods

InnerModifyQuery()

Add/map return fields to the query; call SetJoin to obtain the contact table info instance from the derived class

Declaration
protected override void InnerModifyQuery()
Overrides
ExtenderBase<PriceListTableInfo>.InnerModifyQuery()

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
TableExtenderBase<PriceListTableInfo>.InnerPopulateRowFromReader(SoDataReader, ArchiveRow)

Implements

IArchiveProviderQueryMapping
IArchiveExtender
IArchiveProviderDoesExtend
IArchiveProviderHasColumns
IArchiveProviderExtensible

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top