Why do people use linq to sql?

后端 未结 11 1173
轮回少年
轮回少年 2021-02-04 01:51

Given the premise:

  • There are competent sql programmers (correlary - writing sql queries are not an issue)
  • There are competent application developers (corr
11条回答
  •  时光取名叫无心
    2021-02-04 02:45

    Some handy features are the debugger picking up sytax errors in your query, compared to writing SQL statements as strings. Mistakes that wont get picked up until runtime.

    Plus I find LINQ statements easier to read than SQL.

提交回复
热议问题