Class ConsentPurposeProvider
This is the archive Consent Purpose Provider for GDPR Admin and for GDPR relations to person, if you join and restrict on person
Inheritance
ConsentPurposeProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("ConsentPurpose", 1073741823)]
public class ConsentPurposeProvider : TypedQueryProviderBase<ArchiveRow, ConsentPurposeConsentPurposeExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
ConsentPurposeProvider()
Create the instance
Declaration
public ConsentPurposeProvider()
Fields
ProviderName
This is the archive Consent Purpose Provider for GDPR Admin and for GDPR relations to person, if you join and restrict on person
Declaration
public const string ProviderName = "ConsentPurpose"
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)
Override this method to map query fields to columns, add additional return fields to the query, and set up custom restriction handling
Declaration
public override Task InnerMapFieldsAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: If no-one in the subclass has set the link hint up to now, then do so, using the row entity name and primary key
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
| Type | Name | Description |
|---|---|---|
| SoDataReader | reader | |
| ArchiveRow | row |