Does Entity Framework support COM + transactions?

Does the ADO Entity Framework support COM + transactions?

+4
source share
2 answers

If you want to use something that supports COM + transactions in combination with something like the Entity Framework, you may find the EnterpriseServicesInteropOption enumeration useful (especially the Automatic value).

This is what I did to get WebSphere MQ to work with TransactionScope. MSDN contains a useful article here .

0
source

These are not as many cases of COM + support as "Can operations with entity infrastructure go into the Enterprise Transaction Area?" the answer is yes. EF should not know that other operations in a transaction are through COM +. It just needs to match .NET support for distributed transactions. It just so happens that this is still done through MSDTC, but these are more implementation details that EF really don't need to know.

+3
source

Source: https://habr.com/ru/post/1286281/


All Articles