public IHqlQuery Where(Action <IAliasFactory> alias, Action <IHqlExpressionFactory> predicate) { var aliasFactory = new DefaultAliasFactory(this); alias(aliasFactory); Where(aliasFactory.Current, predicate); return(this); }
public IHqlQuery OrderBy(Action <IAliasFactory> alias, Action <IHqlSortFactory> order) { var aliasFactory = new DefaultAliasFactory(this); alias(aliasFactory); _sortings.Add(new Tuple <IAlias, Action <IHqlSortFactory> >(aliasFactory.Current, order)); return(this); }