문제

I can't seem to find any documentation regarding thread safety...

In particular - is the Database class (and subclasses) thread safe

How would I find this out for myself? Are there references to thread safety for classes on the MSDN site?

도움이 되었습니까?

해결책

Yes, instances of the Database class are thread-safe. However, objects created by it (such as SqlDataReader) are not.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top