Skip to content

Commit

Permalink
Explicit order (#19216)
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet authored and roji committed Dec 7, 2019
1 parent 55ed125 commit f765b9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public virtual Task Projection_of_entity_type_into_object_list(bool async)
{
return AssertQuery(
async,
ss => ss.Set<Customer>().Select(c => new List<object> { c }),
ss => ss.Set<Customer>().OrderBy(c => c.CustomerID).Select(c => new List<object> { c }),
entryCount: 91,
assertOrder: true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public override async Task Projection_of_entity_type_into_object_list(bool async

AssertSql(
@"SELECT [c].[CustomerID], [c].[Address], [c].[City], [c].[CompanyName], [c].[ContactName], [c].[ContactTitle], [c].[Country], [c].[Fax], [c].[Phone], [c].[PostalCode], [c].[Region]
FROM [Customers] AS [c]");
FROM [Customers] AS [c]
ORDER BY [c].[CustomerID]");
}

public override async Task Project_to_int_array(bool async)
Expand Down

0 comments on commit f765b9d

Please sign in to comment.