API
DbCommand.Transaction
Associates a command with its transaction.
Formal Syntax & Structure
csharp syntaxcsharp
command.Transaction = txWorking Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.command.Transaction = tx