How to force Linq 2 SQL to use EXEC instead of EXEC SP_EXECUTESQL
We are executing stored procedures using 开发者_StackOverflowL2S and during trace analysis we noticed that LINQ uses SP_EXECUTESQL instead of EXEC.
I do understand that there are advantages of using SP_EXECUTESQL, but we are in the process of troubleshooting a mysterious DB issue and I was wondering if it's possible to force LINQ use EXEC instead of EXEC SP_EXECUTESQL?
Thanks
精彩评论