/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public virtual void SetPrevious([NotNull] GroupJoinIncludeContext previous) { if (_previous != null) { _previous.SetPrevious(previous); } else { _previous = previous; } }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public virtual GroupJoinIncludeContext CreateIncludeContext([NotNull] RelationalQueryContext queryContext) { var groupJoinIncludeContext = new GroupJoinIncludeContext( _navigationPath, _querySourceRequiresTracking, queryContext, _relatedEntitiesLoaderFactories); if (_previous != null) { groupJoinIncludeContext.SetPrevious(_previous.CreateIncludeContext(queryContext)); } return(groupJoinIncludeContext); }