Class DefaultAliasProvider
Default IAliasProvider that hands out deterministic aliases (t1, t2, ...)
in the order sources are registered.
public class DefaultAliasProvider : IAliasProvider
- Inheritance
-
DefaultAliasProvider
- Implements
- Inherited Members
- Extension Methods
Methods
FindAlias(int)
Returns the alias registered at the zero-based idx, or null when there is none.
public string? FindAlias(int idx)
Parameters
idxintThe zero-based source index.
Returns
GetNextAlias(FromExpression)
Allocates the next alias for from and records the source.
public 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.
public string GetNextAlias(QueryCommand queryCommand)
Parameters
queryCommandQueryCommandThe nested query to register.