SqlAliasManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A stateful manager for SQL aliases, capable of generating uniquified table aliases and rewriting them in post-processing. An instance of SqlAliasManager is valid for a single query compilation, and is owned by RelationalQueryCompilationContext.
public class SqlAliasManager
type SqlAliasManager = class
Public Class SqlAliasManager
- Inheritance
-
SqlAliasManager
Constructors
SqlAliasManager() |
Methods
GenerateTableAlias(ITableBase) |
Generates an alias based on the given |
GenerateTableAlias(String) |
Generates an alias based on the given |
PostprocessAliases(Expression) |
Performs a post-processing pass over aliases in the provided SQL tree, closing any gaps. |
RemapTableAliases(IReadOnlySet<String>) |
Given the list of table aliases currently in use in the SQL tree, produces a remapping for aliases within that list. Can be used to e.g. close gaps for tables which have been pruned, etc. |
Applies to
Entity Framework