List<int> parts = new List<int>();
var groupsQ = from grp in _context.Groups
join item in _context.Items on grp.Id equals item.GroupId
where item.PartId.HasValue && parts.Contains(item.PartId.Value)
select grp;
Steps to reproduce
Check for List.Contains(X) when the list is empty.
The issue
Tested sample:
Steps to reproduce
Check for List.Contains(X) when the list is empty.
Error details
Further technical details
Firebird version: 2.5.8 EntityFrameworkCore.FirebirdSql version: 6.1.0