Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending LINQ Query to Entity Framework as string

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

like image 261
kamiar3001 Avatar asked May 23 '26 22:05

kamiar3001


1 Answers

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.

like image 57
Botz3000 Avatar answered May 26 '26 10:05

Botz3000



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!