Show / Hide Table of Contents

Class ConsentCache

Inheritance
object
CacheBaseV2
ConsentCache
Inherited Members
CacheBaseV2.IsCacheInvalidatedAsync(string, int, PrivateSave, CancellationToken)
CacheBaseV2.InstanceDispose()
CacheBaseV2.BeginDisableAutoUpdate()
CacheBaseV2.LoadAsync(CancellationToken)
CacheBaseV2.Load()
CacheBaseV2.Disposed
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Cache
Assembly: SoDataBase.dll
Syntax
[CacheV2(0)]
public class ConsentCache : CacheBaseV2

Constructors

ConsentCache()

Declaration
public ConsentCache()

Properties

EmarketingId

Declaration
public int EmarketingId { get; }
Property Value
Type Description
int

StoreId

Declaration
public int StoreId { get; }
Property Value
Type Description
int

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
Type Description
IEnumerable<string>
Overrides
CacheBaseV2.TableNames

WithdrawnBase

Declaration
public int WithdrawnBase { get; }
Property Value
Type Description
int

Methods

GetConsentPurposeInfos()

Declaration
public IEnumerable<ConsentPurposeRecordData> GetConsentPurposeInfos()
Returns
Type Description
IEnumerable<ConsentPurposeRecordData>

GetConsentSourceIdFromKey(string)

Declaration
public int GetConsentSourceIdFromKey(string key)
Parameters
Type Name Description
string key
Returns
Type Description
int

GetConsentSourceNameFromId(int)

Declaration
public string GetConsentSourceNameFromId(int id)
Parameters
Type Name Description
int id
Returns
Type Description
string

GetLegalBaseIdFromKey(string)

Declaration
public int GetLegalBaseIdFromKey(string key)
Parameters
Type Name Description
string key
Returns
Type Description
int

GetLegalBaseNameFromId(int)

Declaration
public string GetLegalBaseNameFromId(int id)
Parameters
Type Name Description
int id
Returns
Type Description
string

GetPurposeIdFromKey(string)

Declaration
public int GetPurposeIdFromKey(string key)
Parameters
Type Name Description
string key
Returns
Type Description
int

GetPurposeNameFromId(int)

Declaration
public string GetPurposeNameFromId(int id)
Parameters
Type Name Description
int id
Returns
Type Description
string

OnLoad()

Declaration
protected override void OnLoad()
Overrides
CacheBaseV2.OnLoad()

OnLoadAsync(CancellationToken)

Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
protected override Task OnLoadAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
CacheBaseV2.OnLoadAsync(CancellationToken)

Extension Methods

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