Yes, I'm using the Visual Studio 2008.
I'm curious, because when I run a Windows Forms app the SQL is shown in the
same Output Window,
but with MSTest it does not. =/
I always thought it was the same thing.


Plácido Bisneto - .NET Developer


2010/1/14 Ken Egozi <[email protected]>

> the "output window" you refer to is not necessarily the Console's output.
> I guess you use Visual Studio?
>
> there's that drop-down just above the output window, through which you can
> select which "output" to show there.
>
> and you can always, programatically, grab the console's output (with the
> sql) and display it somewhere to your liking.
> see
> http://www.kenegozi.com/blog/2010/01/05/nhibernate-and-activerecordrsquos-showsql-in-web-application.aspx
>
>
>
> ---------- Forwarded message ----------
> From: Plácido Bisneto <[email protected]>
> Date: Thu, Jan 14, 2010 at 7:05 AM
> Subject: [nhusers] show_sql not working in Unit Test
> To: [email protected]
>
>
> Hello,
>
> I'm having some trouble when using NH.
> The show_sql property is true but all the sql generated is not shown in the
> Output Window.
> If I use the same config file in a Windows Forms app, works well.
> Any tips?
>
> thanks in advance!
>
> Plácido Bisneto - .NET Developer
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>
>
>
> --
> Ken Egozi.
> http://www.kenegozi.com/blog
> http://www.delver.com
> http://www.musicglue.com
> http://www.castleproject.org
> http://www.idcc.co.il - הכנס הקהילתי הראשון למפתחי דוטנט - בואו בהמוניכם
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.

Reply via email to