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: Dry code for generating column alias #16020

Merged
merged 1 commit into from
Jun 11, 2019
Merged

Query: Dry code for generating column alias #16020

merged 1 commit into from
Jun 11, 2019

Conversation

smitpatel
Copy link
Contributor

Added AddToProjection method which de-dupe columns and assign unique alias if subquery
Also added ability to assign alias based on member name in anonymous type projection
TableExpressionBase.Alias is either null or non-empty string to make processing it easier

@smitpatel smitpatel requested review from maumar and roji June 10, 2019 18:09
@smitpatel smitpatel force-pushed the smit/part4 branch 2 times, most recently from 6806e50 to 02b8acf Compare June 11, 2019 16:46
Added AddToProjection method which de-dupe columns and assign unique alias if subquery
Also added ability to assign alias based on member name in anonymous type projection
TableExpressionBase.Alias is either null or non-empty string to make processing it easier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants