Archives for: "January 2012, 04"
"Invalid attempt to call Read when reader is closed" in LINQ DataContext
I got a lot of error from a LINQ DataContext, such as "Invalid attempt to call Read when reader is closed" . That is because I was using a singleton for DataContext in a multi-threads. The codes like that: Codeprivate static ExampleDataContext… more »