خرید بک لینک

Vote count: 0

I'm trying the EF6-way of using transactions and noticed that the following code

using (db.Database.BeginTransaction())
{
    // something
    using (db.Database.BeginTransaction())
    {
        /// something
    }
}

throws an exception on the second begin transaction telling me that

The coection is already in a transaction and caot participate in another
transaction. EntityClient does not support parallel transactions.

Not that I would want to do a parallel transaction, whatever that could mean on one coection. I just wanted a nested one.

So is this indeed not supported on what's going on?

asked 27 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 8 تير 1395 ساعت: 17:40

صفحه بندی