Following is the difference between SQL and LINQ queries-

1. SQL- The main return type of local variable that holds query in SQL is IQueryable. Moreover, it is a Structured Query Language used for the manipulation of data.

2. LINQ- The main return type of local variable that holds query in LINQ is IEnumerable. Moreover, it translates the query into equivalent SQL queries and sends them for processing to the server.

Suggest An Answer

No suggestions Available!