in
tri
home of the trivadians

Nach Ordnungsbegriffen durchsuchen

  • Writing Custom Exception Classes the Quick Way

    Until recently I thought this was a well-known feature. After demonstrating it a few times, I found out it wasn’t. A long time ago, in an cubicle far, far away, someone created the .Net Framework. To cut a long story short, they simultaneously produced guidelines for creating Exception classes...
    Erstellt in Richard's blog (Weblog) von Anonymous am 02-15-2008
  • How to See the SQL Generated by a LINQ to SQL Command

    Quick tip: If you want to see the SQL generated by LINQ to SQL for a query or command, simply set the Log property of your generated DataContext class to an instance of a TextReader. If this is your code: using System; using System.Linq; using System.Data.Linq; namespace LINQtoSQLConsole { class...
    Erstellt in Richard's blog (Weblog) von Anonymous am 02-14-2008
Seite 1 von 1 (2 Treffer)
/