-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
InMemory: Decompose join condition which uses equals for comparison #23593
Labels
area-in-memory
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
Servicing-approved
type-bug
Milestone
Comments
This issue is lacking enough information for us to effectively reproduce. Please post a runnable project/solution or complete code listing that demonstrates the behavior you are seeing. |
Please checkout the failing test |
smitpatel
added a commit
that referenced
this issue
Dec 8, 2020
smitpatel
added a commit
that referenced
this issue
Dec 11, 2020
This was referenced Mar 6, 2021
This was referenced Mar 15, 2021
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-in-memory
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
Servicing-approved
type-bug
Microsoft.EntityFrameworkCore.InMemory 5.0.0 can't inner join Enums
Given a model with entity
A
with a propertyId
as primary key, whereId
is an enumPEnum
, and another entityB
with a foreign key to A through a property calledAId
, and a projection entityAB
The following query inner joining
A
andB
runs successfully with SQL server provider:however,
Microsoft.EntityFrameworkCore.InMemory
thows and exception described below.Expected behaviour
The query should not fail in Microsoft.EntityFrameworkCore.InMemory 5.0.0 because
enums
should be transparently using its inner type (int
in this case), as SQLServer provider 5.0 does, and InMemory used to do in 3.1Stack Trace
Include provider and version information
EF Core version: 5.0
Database provider: Microsoft.EntityFrameworkCore.InMemory
Target framework: ( .NET 5.0)
The text was updated successfully, but these errors were encountered: