Show / Hide Table of Contents

Class ConsentCache

Inheritance
Object
CacheBaseV2
ConsentCache
Implements
IFlushableV2
IDisposable
Inherited Members
CacheBaseV2.IsCacheInvalidated(String, Int32, PrivateSave)
CacheBaseV2.Dispose()
CacheBaseV2.Flush()
CacheBaseV2.BeginDisableAutoUpdate()
CacheBaseV2.GetCurrent<T>()
CacheBaseV2.Load()
CacheBaseV2.Disposed
Namespace: SuperOffice.CRM.Cache
Assembly: SoDataBase.dll
Syntax
[CacheV2("Database", 0)]
public class ConsentCache : CacheBaseV2, IFlushableV2, IDisposable

Properties

EmarketingId

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

StoreId

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

TableNames

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
Int32

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
Int32

GetConsentSourceNameFromId(Int32)

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

GetCurrent()

Declaration
public static ConsentCache GetCurrent()
Returns
Type Description
ConsentCache

GetLegalBaseIdFromKey(String)

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

GetLegalBaseNameFromId(Int32)

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

GetPurposeIdFromKey(String)

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

GetPurposeNameFromId(Int32)

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

OnLoad()

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

Implements

IFlushableV2
System.IDisposable

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