Information
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.

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

public:
virtual void EnlistTransaction(
	Transaction^ transaction
) override

Parameters

transaction
Type: System.Transactions::Transaction^

The transaction object to enlist into.

Exception Condition
InvalidOperationException

The state of the EntityConnection is not Open .

Return to top
Show: