阅读背景:

如何从LINQ-to-SQL或SQL Server中获取存储过程错误的完整错误信息?

来源:互联网 

I am calling a stored procedure through LINQ-to-SQL (yes, I know it's deprecated). I am getting back an error, but the IExecuteResult only seems to be able to provide me with a number, when I would like the full string error description (like what you would get if you executed the SQL by hand in SQL Management Studio). Alternatively, is there somewhere I can find this information logged? I have looked through the Management/Log stuff in the database and it only seems to hold login and sync information.I am calling a stored procedure through LINQ-to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: