What does DbConnection.EnlistTransaction do? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 months ago . Improve this question What does DbConnection.EnlistTransaction do? 回答1: DbConnection.EnlistTransaction allows: Joining the connection to a System.Transactions.Transaction. It has some constraints: If the connection is already participating in a "local" transaction (System.Data