public ISubquerySource AsSource() { if (string.IsNullOrEmpty(alias)) { Alias(TableAliasGenerator.GenerateTableAlias()); } return(new SubquerySource(select, alias)); }
AliasedTableSource CreateAliasedTableSource() { return(new AliasedTableSource(new SimpleTableSource(tableOrViewName), alias ?? TableAliasGenerator.GenerateTableAlias(tableOrViewName))); }