Hi,
I'm using LLBLGenPro runtime of 12th May and I have a strange issue.
I use FindMatches on an EntityCollection and the result is wrong. I attached a screenshot of my watch window. I have an entitycollection with 3 elements. I used following statement:
indices = TimeSliceGroups.FindMatches(MemoryEm3200TimeSliceGroupFields.TimeSliceGroupBits == pData.TimeSliceGroupBits & MemoryEm3200TimeSliceGroupFields.Deleted == 0 & MemoryEm3200TimeSliceGroupFields.ExternalIdlink == 0);
This result in indices.Count == 0. Although when I change the filter into (I removed the MemoryEm3200TimeSliceGroupFields.Deleted == 0 part)
indices = TimeSliceGroups.FindMatches(MemoryEm3200TimeSliceGroupFields.TimeSliceGroupBits == pData.TimeSliceGroupBits & MemoryEm3200TimeSliceGroupFields.ExternalIdlink == 0)
I get a count of 1. It says me that the element with index 2 is a match. When I then ask the Deleted value of the element of position 2 I get that the value is 0. So it should also be found by the first predicate.
Btw, it's a boolean field and I already tried the filter with the false value. Same result.
I don't have any problems with FindMatches before so I probably did something wrong. Does any of you have any idea?
Kind regards,
TomV