protected virtual Expression <Func <TEntity, bool> > GeneratePredicateExpression(int entityQueryId) { var entityQuery = _entityQueryService.Get(entityQueryId, typeof(TEntity)); return(GeneratePredicateExpression(entityQuery)); }
protected virtual Expression <Func <TEntity, bool> > GeneratePredicateExpression(int entityQueryId) => GeneratePredicateExpression(_entityQueryService.Get(entityQueryId, typeof(TEntity)));