14 writes to Top
System.Data.Linq (14)
SqlClient\Common\SqlVisitor.cs (1)
447
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\QueryConverter.cs (4)
1062
select.
Top
= takeExp;
1125
dupsel.
Top
= skipExp;
1136
final.
Top
= takeExp;
2378
select.
Top
= this.sql.ValueFromObject(1, false, this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (1)
1171
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
34
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\SqlDeflator.cs (2)
158
select.
Top
= this.VisitExpression(select.Top);
430
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\SqlDuplicator.cs (1)
236
n.
Top
= top;
SqlClient\Query\SqlReorderer.cs (1)
170
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\SqlResolver.cs (1)
101
select.
Top
= this.VisitExpression(select.Top);
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
34
innerSelect.
Top
= this.sql.ValueFromObject(1, ss.SourceExpression);
SqlClient\Query\SqlTopReducer.cs (1)
33
select.
Top
= sql.Value(val.ClrType, val.SqlType, val.Value, false, val.SourceExpression);
26 references to Top
System.Data.Linq (26)
SqlClient\Common\SqlVisitor.cs (1)
447
select.Top = this.VisitExpression(select.
Top
);
SqlClient\Query\QueryConverter.cs (1)
264
sel.
Top
!= null ||
SqlClient\Query\SqlBinder.cs (1)
1171
select.Top = this.VisitExpression(select.
Top
);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
34
select.Top = this.VisitExpression(select.
Top
);
SqlClient\Query\SqlDeflator.cs (4)
158
select.Top = this.VisitExpression(select.
Top
);
343
select.
Top
!= null ||
430
select.Top = this.VisitExpression(select.
Top
);
464
select.
Top
!= null ||
SqlClient\Query\SqlDuplicator.cs (1)
223
SqlExpression top = (SqlExpression)this.Visit(select.
Top
);
SqlClient\Query\SqlFormatter.cs (2)
781
if (ss.
Top
!= null) {
786
this.Visit(ss.
Top
);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
39
if (select.
Top
!= null) {
SqlClient\Query\SqlLiftWhereClauses.cs (1)
48
select.
Top
!= null ||
SqlClient\Query\SqlMultiplexer.cs (2)
114
this.canJoin &= select.GroupBy.Count == 0 && select.
Top
== null && !select.IsDistinct;
363
this.canBigJoin &= select.GroupBy.Count == 0 && select.
Top
== null && !select.IsDistinct;
SqlClient\Query\SqlOuterApplyReducer.cs (3)
161
select.
Top
== null &&
354
if (select.
Top
!= null ||
472
if (select.
Top
!= null ||
SqlClient\Query\SqlReorderer.cs (2)
170
select.Top = this.VisitExpression(select.
Top
);
194
if ((this.topSelect || select.
Top
!= null) && select.OrderingType != SqlOrderingType.Never && this.orders != null) {
SqlClient\Query\SqlResolver.cs (1)
101
select.Top = this.VisitExpression(select.
Top
);
SqlClient\Query\SqlTopReducer.cs (5)
28
if (select.
Top
!= null) {
29
if (select.
Top
.NodeType == SqlNodeType.Value) {
30
SqlValue val = (SqlValue)select.
Top
;
38
this.annotations.Add(select.
Top
, new SqlServerCompatibilityAnnotation(Strings.SourceExpressionAnnotation(select.
Top
.SourceExpression), SqlProvider.ProviderMode.Sql2000));