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

Can't use Collate or Like over constants #22317

Closed
roji opened this issue Aug 29, 2020 · 0 comments · Fixed by #22318
Closed

Can't use Collate or Like over constants #22317

roji opened this issue Aug 29, 2020 · 0 comments · Fixed by #22318
Assignees
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@roji
Copy link
Member

roji commented Aug 29, 2020

For example:

_ = ctx.Blogs
    .Where(b => b.Name == EF.Functions.Collate("foo", "Latin1_General_CS_AS"))
    .ToList();

Because these aren't flagged as non-evaluatable.

@roji roji added the type-bug label Aug 29, 2020
@roji roji self-assigned this Aug 29, 2020
roji added a commit that referenced this issue Aug 29, 2020
@smitpatel smitpatel added this to the 5.0.0 milestone Aug 31, 2020
roji added a commit that referenced this issue Aug 31, 2020
@ajcvickers ajcvickers added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Aug 31, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0, 5.0.0-rc1 Aug 31, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0-rc1, 5.0.0 Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants