EntityConnection.EnlistTransaction Method (Transaction)
Enlists this EntityConnection in the specified transaction.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- transaction
-
Type:
System.Transactions.Transaction
The transaction object to enlist into.
Exception | Condition |
---|---|
InvalidOperationException | The state of the EntityConnection is not Open . |