Export to GitHub

subsonicproject - issue #102
Comparison.In in does not work properly in Collections where the ArrayList is empty
Posted on Jun 17, 2009 by
Helpful Horse
What steps will reproduce the problem?
1.PersonCollection pc = new PersonCollection().Where(Person.Columns.PersonId, SubSonic.Comparison.In, new int[0] { }).Load();
The expected output is an empty collection...subsonic retrieves all records from the Person Table
Subsonic 2.2 running on IIS7 with .Net v3.5
Status: New
Labels:
Type-Defect
Priority-Medium