Paymentsense / Dapper.SimpleSave

Saving of new and updated data using Dapper
MIT License
31 stars 12 forks source link

Add ambient transaction detection #36

Closed bartread closed 9 years ago

bartread commented 9 years ago

If an ambient transaction exists, and no IDbTransaction is passed in, Dapper.SimpleSave should not explicitly create a new transaction, but should instead defer to the ambient transaction.

bartread commented 9 years ago

Fixed in https://github.com/Paymentsense/Dapper.SimpleSave/commit/96cf7aed06e1485e7bd3b5bedeea90cd4f0142bd