Hi,
when filtering collections I use the following code (selfservicing) as described in the docs:
AEntityCollection colAEntity = new AEntityCollection();
IPredicateExpression filter = (AEntityFields.AField == aValue) & (AEntityFields.BField == bValue);
colAEntity.GetMulti(filter);
and it works fine. But if I have only one filter criterium this approach doesn't work and I have to use:
AEntityCollection colAEntity = new AEntityCollection();
IPredicateExpression filter = new PredicateExpression();
filter.Add(AEntityFields.AField == aValue);
colAEntity.GetMulti(filter);
Is this as designed or am I doing something wrong?
Thanks in advance
Andreas