Stats

890 Contributors: 1 Monday, September 12, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Transactions

Syntax

  • conn.Execute(sql, transaction: tran); // specify the parameter by name
  • conn.Execute(sql, parameters, tran);
  • conn.Query(sql, transaction: tran);
  • conn.Query(sql, parameters, tran);
  • await conn.ExecuteAsync(sql, transaction: tran); // Async
  • await conn.ExecuteAsync(sql, parameters, tran);
  • await conn.QueryAsync(sql, transaction: tran);
  • await conn.QueryAsync(sql, parameters, tran);

Related Examples