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