/// <summary> 
 /// constructor 
 /// </summary> 
 /// <param name="queryCacheKey">The cache key that targets this cache entry</param>
 /// <param name="mergeOption">The inferred merge option that applies to this cached query</param>
 internal CompiledQueryCacheEntry(QueryCacheKey queryCacheKey, MergeOption? mergeOption)
     : base(queryCacheKey, null)
 {
     this.PropagatedMergeOption = mergeOption;
     _plans = new ConcurrentDictionary<string,ObjectQueryExecutionPlan>();
 }
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="queryCacheKey">The cache key that targets this cache entry</param>
 /// <param name="mergeOption">The inferred merge option that applies to this cached query</param>
 internal CompiledQueryCacheEntry(QueryCacheKey queryCacheKey, MergeOption?mergeOption)
     : base(queryCacheKey, null)
 {
     this.PropagatedMergeOption = mergeOption;
     _plans = new ConcurrentDictionary <string, ObjectQueryExecutionPlan>();
 }
Exemplo n.º 3
0
 /// <summary>
 /// cache entry constructor
 /// </summary>
 /// <param name="queryCacheKey"></param>
 /// <param name="target"></param>
 internal QueryCacheEntry(QueryCacheKey queryCacheKey, object target)
 {
     _queryCacheKey = queryCacheKey;
     _target        = target;
 }
 /// <summary> 
 /// cache entry constructor 
 /// </summary> 
 /// <param name="queryCacheKey"></param> 
 /// <param name="target"></param> 
 internal QueryCacheEntry(QueryCacheKey queryCacheKey, object target)
 {
     _queryCacheKey = queryCacheKey;
     _target = target;
 }