Best approach for dyanamic query

Posts   
 
    
Posts: 87
Joined: 17-May-2011
# Posted on: 20-Jul-2011 16:27:34   

Hi There,

I want to know best way to use dynamic query.

I have a situation where my filters are dynamic (selected by the user from UI)

For example:

I have to search employes on the different criteria selected by the user. Criteria can contain range ,in clause,child relationship etc.

How can I achieve this.

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 20-Jul-2011 17:41:23   

PredicateExpressions can be built dynamically in code. I can see no problem with that.

If this is not working with you, can you be more specific about what you are trying to do.