Skip to content

Commit 9a17106

Browse files
committed
Update VerifyEntityFramework.cs
1 parent fb7996d commit 9a17106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Verify.EntityFramework/VerifyEntityFramework.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static async IAsyncEnumerable<object> AllData(this DbContext data)
2121

2222
if (idProperty != null)
2323
{
24-
list = list.OrderBy(_ => idProperty.GetValue(_));
24+
list = list.OrderBy(idProperty.GetValue);
2525
}
2626

2727
foreach (var entity in list)

0 commit comments

Comments
 (0)