You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's nothing prevent an enum with the [Flags] attribute from also having a conversion to string when configuring the model: HasConversion<string>()
This works fine for client side evaluations but for server side, an issue arises when using enum.HasFlags() in a query since the generated SQL attempts to perform a bitwise & operation on a SQL string equivalent (e.g., varchar/nvarchar).
Reacted by Victor Lee, Steffen Mangold, JP Dillingham, Kristian Hellang, Vadim Ovchinnikov, AL.exe, Daniel, soroshsabz, Juliano Leal Goncalves, Bernhard Ninaus and 1 more
Activity
ajcvickers commentedon Feb 28, 2020
Team notes: specific case of #10434