Shunde.NET Framework Class Library

ObjectUtils.AddObjectsToCache Method 

Adds a collection of DBObjects to the cache, which can later be accessed using GetObjectFromCache.

public static void AddObjectsToCache(
   Cache cache,
   IEnumerable<T> objectsToAdd
);

Parameters

Cache
The cache to use
IEnumerable<T>
The objects to add

See Also

ObjectUtils Class | Shunde.Utilities Namespace