The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityConnection::EnlistTransaction Method (Transaction^)
Entity Framework 6.0
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 . |
Show: