Class ConsentCache
Inheritance
System.Object
ConsentCache
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: SoDataBase.dll
Syntax
[CacheV2("Database")]
public class ConsentCache : CacheBaseV2, IFlushableV2, IDisposable
Properties
EmarketingId
Declaration
public int EmarketingId { get; }
Property Value
Type |
Description |
System.Int32 |
|
StoreId
Declaration
public int StoreId { get; }
Property Value
Type |
Description |
System.Int32 |
|
WithdrawnBase
Declaration
public int WithdrawnBase { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetConsentPurposeInfos()
Declaration
public IEnumerable<ConsentPurposeRecordData> GetConsentPurposeInfos()
Returns
GetConsentSourceIdFromKey(String)
Declaration
public int GetConsentSourceIdFromKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Int32 |
|
GetConsentSourceNameFromId(Int32)
Declaration
public string GetConsentSourceNameFromId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.String |
|
GetCurrent()
Declaration
public static ConsentCache GetCurrent()
Returns
GetLegalBaseIdFromKey(String)
Declaration
public int GetLegalBaseIdFromKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Int32 |
|
GetLegalBaseNameFromId(Int32)
Declaration
public string GetLegalBaseNameFromId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.String |
|
GetPurposeIdFromKey(String)
Declaration
public int GetPurposeIdFromKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Int32 |
|
GetPurposeNameFromId(Int32)
Declaration
public string GetPurposeNameFromId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.String |
|
OnLoad()
Declaration
protected override void OnLoad()
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)