/// <summary>Default constructor.</summary> public SQLNETItem() { CacheKey = Guid.NewGuid().ToString(); ParameterTables = new ListDictionary(); ParameterTypes = new SharedCache <string, Type>(); ParameterValues = new ListDictionary(); ParallelItems = new SharedBucketList(); }
public SharedBuckedCache(int bucketSize = 100) { Buckets = new SharedCache <TKey, TValue> [bucketSize]; for (var i = 0; i < bucketSize; i++) { Buckets[i] = new SharedCache <TKey, TValue>(); } }