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

Provide transaction for command explicitly #42

Open
coldacid opened this issue Jun 5, 2020 · 1 comment
Open

Provide transaction for command explicitly #42

coldacid opened this issue Jun 5, 2020 · 1 comment

Comments

@coldacid
Copy link

coldacid commented Jun 5, 2020

I'm using ASP.NET Boilerplate (ABP) for a project and would like to use StoredProcedureEFCore with it, but since ABP has its own system for managing transactions I want to be able to pass in the database transaction it holds for the database instead of StoredProcBuilder sniffing out a transaction for itself.

@coldacid
Copy link
Author

coldacid commented Jun 5, 2020

I have code for this locally, both adding a SetTransaction() to the stored procedure builder, and setting a particular transaction via the constructor. If either (or both) are desired, I can work out with my employer about providing the code as a PR.

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