src/Shared/EntityFramework/Core/Common/QueryCache/CompiledQueryCacheEntry.cs
// <summary>
// Attempts to set the execution plan for <paramref name="newPlan" />'s merge option and
// <paramref
//     name="useCSharpNullComparisonBehavior" />
// flag on
// this cache entry to <paramref name="newPlan" />. If a plan already exists for that merge option and UseCSharpNullComparisonBehavior flag, the
// current value is not changed but is returned to the caller. Otherwise <paramref name="newPlan" /> is returned to the caller.
// </summary>
// <param name="newPlan"> The new execution plan to add to this cache entry. </param>
// <param name="useCSharpNullComparisonBehavior"> Flag indicating if C# behavior should be used for null comparisons. </param>
// <returns>
// The execution plan that corresponds to <paramref name="newPlan" /> 's merge option, which may be
// <paramref
//     name="newPlan" />
// or may be a previously added execution plan.
// </returns>
Attempts to set the execution plan for 's merge option and

flag on
this cache entry to . If a plan already exists for that merge option and UseCSharpNullComparisonBehavior flag, the
current value is not changed but is returned to the caller. Otherwise  is returned to the caller.
Attempts to set the execution plan for ' s merge option and flag on this cache entry to . If a plan already exists for that merge option and UseCSharpNullComparisonBehavior flag the current value is not changed but is returned to the caller . Otherwise is returned to the caller .
internal ObjectQueryExecutionPlan SetExecutionPlan(ObjectQueryExecutionPlan newPlan, bool useCSharpNullComparisonBehavior)
        {
            DebugCheck.NotNull(newPlan);
            var planKey = GenerateLocalCacheKey(newPlan.MergeOption, useCSharpNullComparisonBehavior);
            return (_plans.GetOrAdd(planKey, newPlan));
        }
internal ObjectQueryExecutionPlan SetExecutionPlan ( ObjectQueryExecutionPlan newPlan , bool useCSharpNullComparisonBehavior ) { DebugCheck . NotNull ( newPlan ) ; var planKey = GenerateLocalCacheKey ( newPlan . MergeOption , useCSharpNullComparisonBehavior ) ; return ( _plans . GetOrAdd ( planKey , newPlan ) ) ; }
Attempts to set the execution plan for 's merge option and
Attempts to set the execution plan for ' s merge option and
// Get the value if it is there. If not, add it and get it.
The execution plan that corresponds to  's merge option, which may be

or may be a previously added execution plan.
The execution plan that corresponds to ' s merge option which may be or may be a previously added execution plan .
newPlan
ObjectQueryExecutionPlan
The new execution plan to add to this cache entry.
The new execution plan to add to this cache entry .
useCSharpNullComparisonBehavior
bool
Flag indicating if C# behavior should be used for null comparisons.
Flag indicating if C# behavior should be used for null comparisons .