dotnet / dotnet/efcore

Switch to managing projection/column aliases via ISqlAliasManager as well

Open
#32,821 0 comments 0 reactions 0 assignees View on GitHub
area-query
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

#32785 redid table alias management, introducing a new "SQL alias manager" which is responsible for tracking which aliases are already in use in a query, and ensuring new ones are unique with respect to those. It also concentrates the actual logic of what table aliases look like (first char, lowercase) in a single place, so that this logic can be tweaked/overridden.

However, this didn't make any changes to **projection** (i.e. column) alias management - these are still hard-coded in various places. We should also refactor that logic into the new SQL manager.

/cc @maumar

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.