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

Support Enum.HasFlag in LINQ #2852

Closed
weitzhandler opened this issue Aug 16, 2015 · 3 comments
Closed

Support Enum.HasFlag in LINQ #2852

weitzhandler opened this issue Aug 16, 2015 · 3 comments
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. good first issue This issue should be relatively straightforward to fix. help wanted This issue involves technologies where we are not experts. Expert help would be appreciated. type-enhancement
Milestone

Comments

@weitzhandler
Copy link
Contributor

Hi,

I'd like to see Enum.HasFlag supported in EF's LINQ provider.
I think this feature is pretty useful. Especially with the support of enums introduced to EF in the recent versions - a great feature indeed.

@rowanmiller rowanmiller changed the title Please add support for Enum.HasFlag in Linq to Entities Support Enum.HasFlag in Linq Aug 19, 2015
@rowanmiller rowanmiller changed the title Support Enum.HasFlag in Linq Support Enum.HasFlag in LINQ Aug 19, 2015
@rowanmiller rowanmiller added this to the Backlog milestone Aug 19, 2015
@rowanmiller rowanmiller added type-enhancement help wanted This issue involves technologies where we are not experts. Expert help would be appreciated. labels Aug 19, 2015
@aluanhaddad
Copy link

Yes please.

@smitpatel smitpatel added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Aug 30, 2016
@smitpatel smitpatel modified the milestones: 1.1.0, Backlog Aug 30, 2016
@bricelam bricelam added the good first issue This issue should be relatively straightforward to fix. label May 31, 2019
@EgoPingvina
Copy link

6 years have passed - there is no answer. We love it.

@roji
Copy link
Member

roji commented Jul 25, 2021

@EgoPingvina this was implemented back in 2016 and released with EF Core 1.1.0 (see the milestone above). If you've run into any problems with Enum.HasFlag, can you please open a new issue detailing that problem and including a runnable code sample?

@ajcvickers ajcvickers modified the milestones: 1.1.0-preview1, 1.1.0 Oct 15, 2022
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. good first issue This issue should be relatively straightforward to fix. help wanted This issue involves technologies where we are not experts. Expert help would be appreciated. type-enhancement
Projects
None yet
Development

No branches or pull requests

8 participants