AtomsFramework Persistence Layer Reference Guide

InjectedObjectKey Class

[This is preliminary documentation and subject to change.]

Maintains information about the key fields of each injected object

For a list of all members of this type, see InjectedObjectKey Members.

System.Object
   AtomsFramework.InjectedObjectKey

[Visual Basic]
Public Class InjectedObjectKey
[C#]
public class InjectedObjectKey

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class stores information from the key properties of the objects in the cache. Since objects can have multiple key fields of different types the InjectedObjectKey class is written in a fairly generic manner.

It maintains a collection of key values (all of which must be non-null) and uses them to generate a hashcode. This hashcode is then used as the key to the particular cache entry in question.

It is very similar to the CacheKey used for persistence caching.

Requirements

Namespace: AtomsFramework

Assembly: AtomsFramework (in AtomsFramework.dll)

See Also

InjectedObjectKey Members | AtomsFramework Namespace