How do you extend Linq to SQL?

前端 未结 4 1668
终归单人心
终归单人心 2021-02-20 02:08

Last year, Scott Guthrie stated “You can actually override the raw SQL that LINQ to SQL uses if you want absolute control over the SQL executed”, but I can’t find documentation

4条回答
  •  爱一瞬间的悲伤
    2021-02-20 02:52

    DataContext x = new DataContext

    Something like this perhaps?

    var a = x.Where().with()...etc

    It lets you have a much finer control over the SQL.

提交回复
热议问题