8 references to Ascending
System.Data.Entity (8)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
109result = (clause.Ascending ? CqtBuilder.ToSortClause(newExpression, clause.Collation) : CqtBuilder.ToSortClauseDescending(newExpression, clause.Collation)); 113result = (clause.Ascending ? CqtBuilder.ToSortClause(newExpression) : CqtBuilder.ToSortClauseDescending(newExpression));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
801Begin("DbSortClause", "Ascending", clause.Ascending, "Collation", collStr);
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
668_key.Append(clause.Ascending ? "ASC(" : "DESC(");
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
965TreeNode key = this.Visit((clause.Ascending ? "Asc" : "Desc"), clause.Expression);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
2860sortKey = Command.CreateSortKey(specVar, clause.Ascending); 2864sortKey = Command.CreateSortKey(specVar, clause.Ascending, clause.Collation);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
3705orderByClause.Append(sortClause.Ascending ? " ASC" : " DESC");