Nach Ordnungsbegriffen durchsuchen

Alle Ordnungsbegriffe » Tips » .Net (RSS)

Writing Custom Exception Classes the Quick Way von .Net Smoothie

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...

How to See the SQL Generated by a LINQ to SQL Command von .Net Smoothie

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...
Abgelegt unter: , , , ,