Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transactions #1

Open
zspitz opened this issue Mar 1, 2019 · 0 comments
Open

Transactions #1

zspitz opened this issue Mar 1, 2019 · 0 comments

Comments

@zspitz
Copy link
Owner

zspitz commented Mar 1, 2019

  1. If an SQL statement should be executed on a specific transaction, where should it go in the argument list?
  2. Do we need to check that the transaction and connection match? both that their types match, and that the transaction is on the given connection?

Probably have an overload that takes a ref IDbTransaction, and if the argument is null, begin a new transaction.

Transaction rollback / commit is left up to the calling code.

What about TransactionScope?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant