How to get the TSQL Query from LINQ DataContext.SubmitChanges()

后端 未结 7 899
猫巷女王i
猫巷女王i 2020-12-13 20:48

I\'m using Linq to SQL. I have a DataContext against which I am .SubmitChanges()\'ing. There is an error inserting the identity field, and I\'d like to see the query it\'s u

7条回答
  •  一生所求
    2020-12-13 21:30

    Here is detailed description: http://debugmode.net/2011/06/26/logging-in-linq-to-sql/

提交回复
热议问题