Table of Contents

Class VOcacheManagerKey

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
public class VOcacheManagerKey
Inheritance
VOcacheManagerKey

Fields

CacheSeparator

public const string CacheSeparator = "_"

Field Value

string

CacheShare

public const string CacheShare = "Share"

Field Value

string

UniqueIdEmpty

public const string UniqueIdEmpty = "EmptyUniqueID"

Field Value

string

Properties

ActionType

public DataManagerActionTypes ActionType { get; set; }

Property Value

DataManagerActionTypes

CollectionType

public string CollectionType { get; set; }

Property Value

string

Company

public string Company { get; set; }

Property Value

string

MasterType

public string MasterType { get; set; }

Property Value

string

TokenID

Identifying value of record status that has been cached

public string TokenID { get; set; }

Property Value

string

Examples

If(actionType = DataManagerActionTypes.ChangeMode, appManagement.UserInfo.userName , "Share")

Remarks

the value of this property depends on the status of the entity stored in the cache, if the status is consulted it is set to 'Share' so that the same record can be shared by several users, if it is in modification mode, it remains with unique credentials of the user who is creating or changing the record.

The exception is when the controller of the triggers uses this class to store its data, in this situation this property stores the value of appManagement.ThreadID

UniqueKey

Identifying value of record status that has been cached

public string UniqueKey { get; set; }

Property Value

string

Remarks

The value of this property is the filter expression of the Tsql made to the database to return the record, when it represents a record in change, the filter is simplified becoming the same as the name of the field containing the stamp and the stamp value of that same record

The exception is when the controller of the triggers uses this class to store its data, in this situation this property stores the value of uniqueID from the entity xxStamp

Methods

Clone()

public VOcacheManagerKey Clone()

Returns

VOcacheManagerKey

GetFromActionType(DataManagerActionTypes)

public VOcacheManagerKey GetFromActionType(DataManagerActionTypes acType)

Parameters

Nome Tipo Descrição
acType DataManagerActionTypes

Returns

VOcacheManagerKey

ToString()

public string ToString()

Returns

string