15 references to SqlOrderType
System.Data.Linq (15)
SqlClient\Common\SqlNode.cs (3)
778
private
SqlOrderType
orderType;
781
internal SqlOrderExpression(
SqlOrderType
type, SqlExpression expr) {
786
internal
SqlOrderType
OrderType {
SqlClient\Query\QueryConverter.cs (6)
1484
private SqlSelect VisitOrderBy(Expression sequence, LambdaExpression expression,
SqlOrderType
orderType) {
1507
private SqlSelect VisitThenBy(Expression sequence, LambdaExpression expression,
SqlOrderType
orderType) {
2256
return this.VisitOrderBy(mc.Arguments[0], this.GetLambda(mc.Arguments[1]),
SqlOrderType
.Ascending);
2263
return this.VisitOrderBy(mc.Arguments[0], this.GetLambda(mc.Arguments[1]),
SqlOrderType
.Descending);
2270
return this.VisitThenBy(mc.Arguments[0], this.GetLambda(mc.Arguments[1]),
SqlOrderType
.Ascending);
2277
return this.VisitThenBy(mc.Arguments[0], this.GetLambda(mc.Arguments[1]),
SqlOrderType
.Descending);
SqlClient\Query\SqlFormatter.cs (2)
192
if (exp.OrderType ==
SqlOrderType
.Descending) {
837
if (exp.OrderType ==
SqlOrderType
.Descending) {
SqlClient\Query\SqlReorderer.cs (4)
119
list.Add(new SqlOrderExpression(
SqlOrderType
.Ascending, new SqlColumnRef(col)));
192
this.Orders.Add(new SqlOrderExpression(
SqlOrderType
.Ascending, new SqlColumnRef(rowNumberChecker.RowNumberColumn)));
239
orderBy.Add(new SqlOrderExpression(
SqlOrderType
.Ascending, new SqlColumnRef(col)));
251
orderBy.Add(new SqlOrderExpression(
SqlOrderType
.Ascending, new SqlColumnRef(col)));