src/Shared/EntityFramework/Core/Objects/Internal/ObjectQueryState.cs
// <summary>
// Sets the values the <see cref="PlanCachingEnabled" /> and <see cref="UserSpecifiedMergeOption" /> properties on
// <paramref name="other" /> to match the values of the corresponding properties on this instance.
// </summary>
// <param name="other"> The query state to which this instances settings should be applied. </param>
Sets the values the  and  properties on
to match the values of the corresponding properties on this instance.
Sets the values the and properties on to match the values of the corresponding properties on this instance .
internal void ApplySettingsTo(ObjectQueryState other)
        {
            other.PlanCachingEnabled = PlanCachingEnabled;
            other.UserSpecifiedMergeOption = UserSpecifiedMergeOption;
        }
internal void ApplySettingsTo ( ObjectQueryState other ) { other . PlanCachingEnabled = PlanCachingEnabled ; other . UserSpecifiedMergeOption = UserSpecifiedMergeOption ; }
Sets the values the  and  properties on
to match the values of the corresponding properties on this instance.
Sets the values the and properties on to match the values of the corresponding properties on this instance .
// _cachedPlan is intentionally not copied over - since the parameters of 'other' would have to be locked as // soon as its execution plan was set, and that may not be appropriate at the time ApplySettingsTo is called. 
other
ObjectQueryState
The query state to which this instances settings should be applied.
The query state to which this instances settings should be applied .