public SortOrder(SymbolName symbolName, SortDirection sortDirection) { if ((object)symbolName == null) throw new ArgumentNullException(nameof(symbolName)); this.symbolName = symbolName; this.sortDirection = sortDirection; }
protected override IExpression VisitSymbolName(SymbolName symbolName) { string columnName; if ((object)symbolName == null) throw new ArgumentNullException(nameof(symbolName)); columnName = this.SqlNuance.GetAliasedColumnName("t0", symbolName.Name); this.Strings.Append(columnName); return symbolName; }
protected abstract IExpression VisitSymbolName(SymbolName symbolName);