Use Expression Trees to Build Dynamic Queries

Thread is closed for posting
2 posts, 0 answers
  1. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 24 Sep 2014 Link to this post


    Are the LINQ Expression Tree concepts shown in the following MS documentation supported within Data Access?

    It seems the following article is showing the use of LINQ Expressions with OpenAccess, is this still a recommended practice for dynamic filtering?

    Thank You
    Bob Baldwin
  2. Thomas
    Thomas avatar
    590 posts

    Posted 25 Sep 2014 Link to this post

    Hello Bob,

    yes, this is still the recommended approach. In the end, all that we need is a LINQ expression tree, and we do not care to much who is building it: The compiler, the user or dynamic LINQ. 
    Please note, that not all methods that are available in the CLR will be pushable to the database (e.g. string::LastIndexOf).

    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
Back to Top