EntityConnection.EnlistTransaction(Transaction) Method

Definition

Enlists this EntityConnection in the specified transaction.

public override void EnlistTransaction (System.Transactions.Transaction transaction);

Parameters

transaction
Transaction

The transaction object to enlist into.

Exceptions

Remarks

This method forwards the call to the data source connection to explicitly enlist in the passed Transaction.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1