How do you extend Linq to SQL?

前端 未结 4 1742
终归单人心
终归单人心 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:50

    You want to translate an expression tree into SQL... You need to implement your own IQueryProvider

    IQueryProvider Reference
    How To

    MSDN How To

提交回复
热议问题