开发者

Is the Microsoft Enterprise Library Data Access Application Block thread safe?

开发者 https://www.devze.com 2022-12-31 04:28 出处:网络
I can\'t seem to find any documentation regarding thread safety... In particular - is开发者_Go百科 the Database class (and subclasses) thread safe

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

In particular - is开发者_Go百科 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消