Skip to content

Query/InMemory: projecting (int?)(myBaseEntity as MyDerivedEntity).IntOnDerived defaults to 0 rather than null #25735

Closed

Description

Slight discrepancy between InMemory and relational (and arguably L2O if we ignore the null ref) - since the actual property is int?, it should have defaulted to null, but instead we get 0 for InMemory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

area-in-memoryarea-queryclosed-fixedThe issue has been fixed and is/will be included in the release indicated by the issue milestone.type-bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions