Skip to content

SetFilter on Custom Repository issue #115

Open
@Antoshjkee

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions