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 for dependents sharing table #21747

Merged
1 commit merged into from
Jul 24, 2020
Merged

Conversation

smitpatel
Copy link
Contributor

Resolves #20342

@smitpatel smitpatel requested a review from a team July 23, 2020 02:08
@ghost
Copy link

ghost commented Jul 23, 2020

Hello @smitpatel!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

CreatePropertyAccessExpression(left, p),
CreatePropertyAccessExpression(right, p)))
.Aggregate((l, r) => Expression.AndAlso(l, r)));
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extends the fix for #19407 for more scenarios.

@microsoft-github-updates microsoft-github-updates bot changed the base branch from master to main July 23, 2020 04:35
@smitpatel
Copy link
Contributor Author

/azp run build macos

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@smitpatel
Copy link
Contributor Author

/azp run all

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@smitpatel
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -459,7 +459,7 @@ private Expression TryExpandNavigation(Expression root, MemberIdentity memberIde
return innerSource.PendingSelector;
}

static Expression AddConvertToObject(Expression expression)
private static Expression AddConvertToObject(Expression expression)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert it into local function?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it. Initially I intended to write it as a local function and I thought I did. But then VS said, I need to add accessibility modifier and added private in front of it. So I realized it is not local function.
But then
Inside an .Internal class
in a nested clas
in a private method
Does it really matter ? :trollface:

@ghost ghost merged commit 083733b into main Jul 24, 2020
@ghost ghost deleted the smit/equality branch July 24, 2020 19:59
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entity Equality rewrites owned == null check to PK check
2 participants