private void ApplyQueryRequestSettings(LinqQueryRequest queryRequest, bool generateProxies)
        {
            if (ScanConsistency.HasValue)
            {
                queryRequest.ScanConsistency(ScanConsistency.Value);
            }
            if (ScanWait.HasValue)
            {
                queryRequest.ScanWait(ScanWait.Value);
            }
            if (MutationState != null)
            {
                queryRequest.ConsistentWith(MutationState);
            }

            if (UseStreaming)
            {
                if (generateProxies)
                {
                    _log.Info("Query result streaming is not supported with change tracking, streaming disabled");
                }
                else
                {
                    queryRequest.UseStreaming(true);
                }
            }
        }
 private void ApplyQueryRequestSettings(LinqQueryRequest queryRequest)
 {
     if (ScanConsistency.HasValue)
     {
         queryRequest.ScanConsistency(ScanConsistency.Value);
     }
     if (ScanWait.HasValue)
     {
         queryRequest.ScanWait(ScanWait.Value);
     }
     if (MutationState != null)
     {
         queryRequest.ConsistentWith(MutationState);
     }
 }