Capture Stored Procedure print output in .NET (Different model!)
Posted
by Workshop Alex
on Stack Overflow
See other posts from Stack Overflow
or by Workshop Alex
Published on 2010-03-08T14:17:56Z
Indexed on
2010/03/08
14:21 UTC
Read the original article
Hit count: 159
Basically, this question with a difference...
Is it possible to capture print output from a TSQL stored procedure in .NET, using the Entity Framework?
The solution in the other question doesn't work for me. It works with the connection type from System.Data.SqlClient but I'm using the one from System.Data.EntityClient which does not have an InfoMessage event. (Of course, I could just create an SQL connection based on the Entity connection settings, but prefer to do it directly.)
© Stack Overflow or respective owner