When using collectionConfig.SetRepositoryType<FooRepository>(); together with collectionConfig.SetFilter(x => ...); it does not store lambda expression and it get's lost somewhere and when it gets to this method I always get null on whereClause.
protected override PagedResult<RuleGroup> GetPagedImpl(int pageNumber, int pageSize, Expression<Func<RuleGroup, bool>> whereClause, Expression<Func<RuleGroup, object>> orderBy,SortDirection orderDirection)
I have tried to dig the source code and see what is happening, but could not find the trace of it where it gets lost. I will continue looking for it, but maybe you aware of this already and got a solution.
When using
collectionConfig.SetRepositoryType<FooRepository>();
together withcollectionConfig.SetFilter(x => ...);
it does not store lambda expression and it get's lost somewhere and when it gets to this method I always get null on whereClause.protected override PagedResult<RuleGroup> GetPagedImpl(int pageNumber, int pageSize, Expression<Func<RuleGroup, bool>> whereClause, Expression<Func<RuleGroup, object>> orderBy,SortDirection orderDirection)
I have tried to dig the source code and see what is happening, but could not find the trace of it where it gets lost. I will continue looking for it, but maybe you aware of this already and got a solution.