Devintelligence.com

In .Net we trust
Welcome to Devintelligence.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » Tips, tricks, c... » LINQ » log4net » Database
Sorry, but there are no more tags available to filter with.
  • Sending the LINQ To SQL log to log4net

    DataContext Log Property can be used to print generated SQL query or command in the console window as shown below:   db.Log = Console.Out; If you want to print the SQL query in DebugView or VS Output window you may use DebugWriter class(by Kris Vandermotten) .The usage of the class is pretty simple ...   db.Log = new ...
    Posted to .Net Adventures (Weblog) by admin on January 26, 2008
Powered by Community Server, by Telligent Systems