RelationalConnection.EnlistTransaction(Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies an existing Transaction to be used for database operations.
public virtual void EnlistTransaction (System.Transactions.Transaction transaction);
public virtual void EnlistTransaction (System.Transactions.Transaction? transaction);
abstract member EnlistTransaction : System.Transactions.Transaction -> unit
override this.EnlistTransaction : System.Transactions.Transaction -> unit
Public Overridable Sub EnlistTransaction (transaction As Transaction)
Parameters
- transaction
- Transaction
The transaction to be used.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework