Subsonic how do I filter a loaded collection?

Posted by Kamikaze on Stack Overflow See other posts from Stack Overflow or by Kamikaze
Published on 2010-04-28T16:32:04Z Indexed on 2010/04/29 3:57 UTC
Read the original article Hit count: 319

Filed under:

Currently I am using Subsonic 2.1 and .NET 2.1 and I have an issue where I am attempting to filter a pre-loaded collection with 300+ items. I am using the following to attempt to preform the filter:

orders = MasterOrders.Where("account", mbrAccount).Load();

The end results is setting orders equal to the entire MasterOrders collection and not the filtered results. Any suggestions?

© Stack Overflow or respective owner

Related posts about subsonic