I am creating an ASP.NET MVC application that uses NHibernate to pull data from SQL Server. I wanted to see the generated SQL statements in Visual Studio’s Output Window as I debug the code. NHibernate contains a property, show_sql which should do what I need, right? Not exactly. The SQL statements are displayed when I run my unit tests, but I want to see them as I step through the code. Read the rest of this entry »
Posts Tagged ‘NHibernate’
Displaying NHibernate SQL in Visual Studio’s Output Window
Posted by rjester on April 3, 2009
Posted in Uncategorized | Tagged: log4net, NHibernate, show_sql, vs2008 | 8 Comments »