Class QuoteConnectionProvider
This is the archive Provider for the QuoteConnection Archive in SoAdmin.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("QuoteConnection", 1073741823)]
public class QuoteConnectionProvider : TypedQueryProviderBase<ArchiveRow, QuoteConnectionExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
QuoteConnectionProvider()
Create the QuoteConnectionProvider instance
Declaration
public QuoteConnectionProvider()
Fields
EntityDeleted
This is the archive Provider for the QuoteConnection Archive in SoAdmin.
Declaration
public const string EntityDeleted = "deleted"
Field Value
| Type | Description |
|---|---|
| string |
ProviderName
This is the archive Provider for the QuoteConnection Archive in SoAdmin.
Declaration
public const string ProviderName = "QuoteConnection"
Field Value
| Type | Description |
|---|---|
| string |
RowTypeName
This is the archive Provider for the QuoteConnection Archive in SoAdmin.
Declaration
public const string RowTypeName = "quoteConnection"
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
InnerMapFieldsAsync(CancellationToken)
Map fields during building of the query.
Declaration
public override Task InnerMapFieldsAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate data return rows from the reader. Since the provider is essentially just a wrapper around the QuoteConnectionExtenderBase, 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
PostProcessQuery()
This method is called after ModifyQuery has been called on all extenders, but before the query is executed. It is used for processing that needs the query to be 'complete' from the extenders, and gives the opportunity to tweak it, for instance by adding return fields needed for some particular functionality.
Declaration
public override void PostProcessQuery()
Overrides
SetDesiredEntities(params string[])
Set the desired entities
Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | entities | Names of desired entities |