| MemoryCacheServiceAdd Method |
Adds data to the cache
Namespace:
SanteDB.Caching.Memory
Assembly:
SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.481-alpha
Syntax public void Add(
IdentifiedData data
)
Public Sub Add (
data As IdentifiedData
)
public:
virtual void Add(
IdentifiedData^ data
) sealed
abstract Add :
data : IdentifiedData -> unit
override Add :
data : IdentifiedData -> unit
Parameters
- data
- Type: SanteDB.Core.ModelIdentifiedData
The data which is to be added to the cache
Implements
IDataCachingServiceAdd(IdentifiedData)Remarks This method will use the key identifier of the
data object passed into it by the caller as the
basis for storing the data in the cache. When retrieving via the
GetCacheItem(Guid) method
Thread Safety Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also