public virtual void DetermineQueryBufferRequirement([NotNull] QueryModel queryModel)
        {
            Check.NotNull(queryModel, nameof(queryModel));

            IsQueryBufferRequired
                = QueryAnnotations.OfType <IncludeResultOperator>().Any() ||
                  new RequiresBufferingExpressionVisitor(Model).RequiresBuffering(queryModel);
        }
        public virtual void DetermineQueryBufferRequirement([NotNull] QueryModel queryModel)
        {
            Check.NotNull(queryModel, nameof(queryModel));

            IsQueryBufferRequired
                = IsTrackingQuery ||
                  QueryAnnotations.OfType <IncludeQueryAnnotation>().Any() ||
                  new ShadowAccessFindingExpressionVisitor().AnyShadowAccess(queryModel);
        }