Linq中来自SqlServer的警告消息 [英] Warning message from SqlServer in Linq
本文介绍了Linq中来自SqlServer的警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Ado.net中,借助SqlConnection类的InfoMessage事件,我们可以处理来自SQLServer的信息性消息或警告消息.
在Linq中,该怎么做?
In Ado.net with the help of InfoMessage event of SqlConnection Class we can handle the informational or warning message from SQLServer.
In Linq, How to do that?
推荐答案
检查以下链接.
Linq2SQL InfoMessage [ ^ ]
Hi,
Check the following link.
Linq2SQL InfoMessage[^]
这篇关于Linq中来自SqlServer的警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文