Hello,
I am trying to query a table. I want to get only exact size of element but couldn't manage. Buttake gets up to 5 I think.
var gameBankResult = await (context.GameBanks.Where(g => g.productCode == initiate.productCode)
.Where(l => l.referenceId == null)
.Take(5)).ToListAsync();If there are 5 elements which meet the condition, I want to get exact 5 of them.