Ejemplo n.º 1
0
		public SortOrder(SymbolName symbolName, SortDirection sortDirection)
		{
			if ((object)symbolName == null)
				throw new ArgumentNullException(nameof(symbolName));

			this.symbolName = symbolName;
			this.sortDirection = sortDirection;
		}
Ejemplo n.º 2
0
		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;
		}
Ejemplo n.º 3
0
		protected abstract IExpression VisitSymbolName(SymbolName symbolName);