Interface IAliasProvider
Allocates and resolves the table aliases (t1, t2, ...) of the sources in a query.
public interface IAliasProvider
- Extension Methods
Methods
FindAlias(int)
Returns the alias registered at the zero-based idx, or null when there is none.
string? FindAlias(int idx)
Parameters
idxintThe zero-based source index.
Returns
GetNextAlias(FromExpression)
Allocates the next alias for from and records the source.
string GetNextAlias(FromExpression from)
Parameters
fromFromExpressionThe FROM source to register.
Returns
GetNextAlias(QueryCommand)
Allocates the next alias for the nested queryCommand and records the source.
string GetNextAlias(QueryCommand queryCommand)
Parameters
queryCommandQueryCommandThe nested query to register.