Community

Redirect LINQ to SQL DataContext Log Messages To Log4Net

(S. M. Sohan) Visual Studio automatically generates the subclasses of DataContext class when dealing with LINQ to SQL for ORM. These auto generated classes have a property named Log of type System.IO.TextWriter. If an object of type TextWriter or its subclass is assigned to this property, then it wi

Read More - Register for Free Membership