Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contains does not work #316

Open
young717 opened this issue Apr 18, 2023 · 1 comment
Open

contains does not work #316

young717 opened this issue Apr 18, 2023 · 1 comment

Comments

@young717
Copy link

young717 commented Apr 18, 2023

In my case,
the api definite like this:
Task DeleteArticleById(params string[] articleId)
and the query expression like this :
predicate.And(s => articleIds.Contains(s.Id));
It does not work, it does not transform the contains function

@young717 young717 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2023
@young717 young717 reopened this Apr 18, 2023
@kpanpfizer
Copy link

Try Predicates.Field(f => f.NodeId, Operator.Eq, articleIds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants