Skip to content

Query: Rewrite Entity Equality during translation phase - #20447

Merged
smitpatel merged 1 commit into
masterfrom
smit/LongWayToGo
Mar 31, 2020
Merged

smitpatel merged 1 commit into
masterfrom
smit/LongWayToGo

Conversation

@smitpatel

Copy link
Copy Markdown
Contributor

Resolves #15080
Implemented behavior:

  • If any part of composite key is null then key is null.
  • If comparing entity with null then check if "any" key value is null.
  • If comparing entity with non-null then check if "all" key values are non null.

Resolves #20344
Resolves #19431
Resolves #13568
Resolves #13655
Since we already convert property access to nullable, if entity from client is null, make key value as null.

Resolves #19676
Clr type mismatch between proxy type and entity type is ignored.

Resolves #20164
Rewrites entity equality during translation

Part of #18923

@smitpatel
smitpatel changed the base branch from smit/SoManyWeirdVisitors to master March 28, 2020 22:40
Resolves #15080
Implemented behavior:
- If any part of composite key is null then key is null.
- If comparing entity with null then check if "any" key value is null.
- If comparing entity with non-null then check if "all" key values are non null.

Resolves #20344
Resolves #19431
Resolves #13568
Resolves #13655
Since we already convert property access to nullable, if entity from client is null, make key value as null.

Resolves #19676
Clr type mismatch between proxy type and entity type is ignored.

Resolves #20164
Rewrites entity equality during translation

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

Labels

None yet

Projects

None yet

2 participants