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