2 writes to Top
System.Data.Entity (2)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
1708result.Select.Top = new TopClause(topCount, e.WithTies); 2928result.Select.Top = new TopClause(1, false);
7 references to Top
System.Data.Entity (7)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
3975return result.Select.Top == null 3985&& result.Select.Top == null; 3991&& result.Select.Top == null 3996return result.Select.Top == null;
System\Data\SqlClient\SqlGen\SqlSelectClauseBuilder.cs (2)
111if (this.Top != null) 113this.Top.WriteSql(writer, sqlGenerator);
System\Data\SqlClient\SqlGen\SqlSelectStatement.cs (1)
275if ((null != this.orderBy) && !this.OrderBy.IsEmpty && (this.IsTopMost || this.Select.Top != null))