Hi,
I've got a page which needs to show a different set of news stories depending on a parent category - News, Entertainment or Sport.
Each category entails a different filter. I want to avoid switch statements springing up within the code so I'm opting to derive a new page for each different category. At the moment there are only 3 so this isn't too big a deal.
I'm having to use inheritance because with LLBLGen, it seems one has to hard code a filter.
What would be good is if I could describe a filter user a string just like you can do with DataTable.Select.
Also, its not just as simple as passing in the categoryID as a parameter. I need to be able to add different predicates depending on the category.
Is this viable?
Ian.