Submit LINQ Query query in Entity Framework as a string

How can I send a linq request as a string in the Entity Framework, for example:

from s in students select s

I want to compile this in oracle server and sql

+3
source share
2 answers

Maybe you should take a look at Entity SQL .
Here is an example: http://msdn.microsoft.com/en-us/library/bb738684.aspx

Another option is Dynamic LINQ .

+6
source

Source: https://habr.com/ru/post/1776193/


All Articles