Does DataObjects real world applications use multithreading? Can you show me samples? What about implementation of PLinq for DataObjects? Previously, you got from me a test case with an error in parallel (on different threads) reading an object in one (the same)session. Do you have this test case? |
Of course I can synchronize access to objects by means of .net synchronization capabilities, for example, Lock () {} statement or using such collections as ConcurrentBag, ConccurrentDictionary. But it is very difficult to do because it'll affect code of other programmers, and even Core code. I don't understand Why can't DO provide thread safe read access to Session-like objects. In fact, basically, this problem occurs when accessing the so-called hardcoded properties. For example:
I can not provide synchronized access to these properties due to the reason described above. |