src/Shared/EntityFramework/Core/Common/QueryCache/CompiledQueryCacheEntry.cs
// <summary>
// Retrieves the execution plan for the specified merge option and UseCSharpNullComparisonBehavior flag. May return null if the
// plan for the given merge option and useCSharpNullComparisonBehavior flag is not present.
// </summary>
// <param name="mergeOption"> The merge option for which an execution plan is required. </param>
// <param name="useCSharpNullComparisonBehavior"> Flag indicating if C# behavior should be used for null comparisons. </param>
// <returns>
// The corresponding execution plan, if it exists; otherwise <c>null</c> .
// </returns>
Retrieves the execution plan for the specified merge option and UseCSharpNullComparisonBehavior flag. May return null if the
plan for the given merge option and useCSharpNullComparisonBehavior flag is not present.
Retrieves the execution plan for the specified merge option and UseCSharpNullComparisonBehavior flag . May return null if the plan for the given merge option and useCSharpNullComparisonBehavior flag is not present .
internal ObjectQueryExecutionPlan GetExecutionPlan(MergeOption mergeOption, bool useCSharpNullComparisonBehavior)
        {
            var key = GenerateLocalCacheKey(mergeOption, useCSharpNullComparisonBehavior);
            ObjectQueryExecutionPlan plan;
            _plans.TryGetValue(key, out plan);
            return plan;
        }
internal ObjectQueryExecutionPlan GetExecutionPlan ( MergeOption mergeOption , bool useCSharpNullComparisonBehavior ) { var key = GenerateLocalCacheKey ( mergeOption , useCSharpNullComparisonBehavior ) ; ObjectQueryExecutionPlan plan ; _plans . TryGetValue ( key , out plan ) ; return plan ; }
Retrieves the execution plan for the specified merge option and UseCSharpNullComparisonBehavior flag.
Retrieves the execution plan for the specified merge option and UseCSharpNullComparisonBehavior flag .
The corresponding execution plan, if it exists; otherwise null
The corresponding execution plan if it exists ; otherwise null
mergeOption
MergeOption
The merge option for which an execution plan is required.
The merge option for which an execution plan is required .
useCSharpNullComparisonBehavior
bool
Flag indicating if C# behavior should be used for null comparisons.
Flag indicating if C# behavior should be used for null comparisons .