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

Query: Rewrite Entity Equality during translation phase #20447

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

smitpatel
Copy link
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