This is a migrated thread and some comments may be shown as answers.

Use Expression Trees to Build Dynamic Queries

1 Answer 102 Views
LINQ (LINQ specific questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bob
Top achievements
Rank 1
Bob asked on 24 Sep 2014, 01:43 PM
Hello,

Are the LINQ Expression Tree concepts shown in the following MS documentation supported within Data Access?
http://msdn.microsoft.com/en-us/library/bb882637.aspx

It seems the following article is showing the use of LINQ Expressions with OpenAccess, is this still a recommended practice for dynamic filtering?
http://blogs.telerik.com/openaccessteam/posts/10-04-16/dynamic-filter-expressions-in-an-openaccess-linq-query.aspx

Thank You
Bob Baldwin
Trabon
816-276-2512

1 Answer, 1 is accepted

Sort by
0
Thomas
Telerik team
answered on 25 Sep 2014, 09:34 AM
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).

Regards,
Thomas
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
LINQ (LINQ specific questions)
Asked by
Bob
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Share this question
or