Class ConsentCache
Assembly: SoDataBase.dll
Syntax
[CacheV2(0)]
public class ConsentCache : CacheBaseV2
Constructors
ConsentCache()
Declaration
Properties
EmarketingId
Declaration
public int EmarketingId { get; }
Property Value
StoreId
Declaration
public int StoreId { get; }
Property Value
TableNames
Gets the names of the table data that are cached in this cache. When these tables are updated
the cache will be disposed so a new cache instance can take its place.
Declaration
protected override IEnumerable<string> TableNames { get; }
Property Value
Overrides
WithdrawnBase
Declaration
public int WithdrawnBase { get; }
Property Value
Methods
GetConsentPurposeInfos()
Declaration
public IEnumerable<ConsentPurposeRecordData> GetConsentPurposeInfos()
Returns
GetConsentSourceIdFromKey(string)
Declaration
public int GetConsentSourceIdFromKey(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
GetConsentSourceNameFromId(int)
Declaration
public string GetConsentSourceNameFromId(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Returns
GetLegalBaseIdFromKey(string)
Declaration
public int GetLegalBaseIdFromKey(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
GetLegalBaseNameFromId(int)
Declaration
public string GetLegalBaseNameFromId(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Returns
GetPurposeIdFromKey(string)
Declaration
public int GetPurposeIdFromKey(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
GetPurposeNameFromId(int)
Declaration
public string GetPurposeNameFromId(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Returns
OnLoad()
Actual cache loading method, to be implemented by derived class. Sentry is Ignored when this method is called
Declaration
protected override void OnLoad()
Overrides
OnLoadAsync(CancellationToken)
Actual cache loading method, to be implemented by derived class. Sentry is Ignored when this method is called
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
protected override Task OnLoadAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
Extension Methods