I know that questions about .net ORM have been asked thousands of times, but I want to know which ORM is easy to work with in a multi-threaded environment. Commercial or free are welcome.
I am currently using XPO from Devexpress, but I feel inconvenient to use in a multi-threaded application. An object from one thread cannot be transferred by another thread, to use it in another thread, I need to find the object from the database using the key, this is really annoying. You cannot save the state of a database object in the database, even if you lock the state of the object. for example, the Save () method cannot be called from a thread other than the one that creates the object.
By the way, I'm just starting out with XPO, maybe I'm using it the wrong way.
Benny source
share