예제 #1
0
        protected virtual Expression <Func <TEntity, bool> > GeneratePredicateExpression(int entityQueryId)
        {
            var entityQuery = _entityQueryService.Get(entityQueryId, typeof(TEntity));

            return(GeneratePredicateExpression(entityQuery));
        }
예제 #2
0
 protected virtual Expression <Func <TEntity, bool> > GeneratePredicateExpression(int entityQueryId) => GeneratePredicateExpression(_entityQueryService.Get(entityQueryId, typeof(TEntity)));