Code: Select all
return await _Context.Cases.AsNoTracking().Take(10).ToListAsync();
In the logs I see the following output:
Code: Select all
Microsoft.EntityFrameworkCore.Database.Command: Information: Executed DbCommand (2,778ms) [Parameters=[__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='60']
SELECT TOP(:__p_0) "c"."Id", "c"."CaseNumber"
FROM "Case" AS "c"