Reputation: 2676
How I can send a linq query as string to Entity Framework for example:
from s in students select s
I want to compile this in oracle and sql server
Upvotes: 3
Views: 5618
Reputation: 5358
i use Dynamic Linq to dynamically construct linq queries at run time
Upvotes: 0
Reputation: 39600
You might want to have a look at Entity SQL.
Here is an example: http://msdn.microsoft.com/en-us/library/bb738684.aspx
Another possibility is Dynamic LINQ.
Upvotes: 6