I'm using SelfServicing code w/ v2.0 and I'm trying to create predicates like this:
ICollection values
...
entityCollection.GetMulti (ProcedureFields.ID == values);
but this fails with an exception: Object must implement IConvertible. The reason is that the predicate returned from the == is a FieldCompareValuePredicate, not a FieldCompareRangePredicate. If I declare values to be int[] or ArrayList, the code works correctly. Using IList does not work. Is there a way to use the == operator with one of the common interfaces?