public override Func <QueryContext, IAsyncEnumerable <TResult> > CompileAsyncQuery <TResult>(QueryModel queryModel)
        {
            SecurityQueryExecutor queryExecutor = CreateQueryExecutor(queryModel);

            return((qc) => queryExecutor.Execute <TResult>(qc).ToAsyncEnumerable());
        }
        public override Func <QueryContext, IEnumerable <TResult> > CompileQuery <TResult>(QueryModel queryModel)
        {
            SecurityQueryExecutor queryExecutor = CreateQueryExecutor(queryModel);

            return(p => queryExecutor.Execute <TResult>(p));
        }