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

Implementing Dapper Extensions? #9

Open
michaelmarcuccio opened this issue Mar 13, 2019 · 1 comment
Open

Implementing Dapper Extensions? #9

michaelmarcuccio opened this issue Mar 13, 2019 · 1 comment
Assignees

Comments

@michaelmarcuccio
Copy link

michaelmarcuccio commented Mar 13, 2019

Sorry, I'm not sure if this is appropriate to open an issue for. Is there a way to integrate Dapper command extensions with this? Such as with Dapper Plus commands off of IDbConnection like BulkInsert?

Only way to do it seems to be ((AmbientDbContext)Context).DapperExtensionsCommand

@sakopov
Copy link
Owner

sakopov commented Mar 17, 2019

Sorry, I haven't been able to respond in a timely manner. I believe this is the second time someone requested the ability to use ambient context with Dapper extensions and while this wasn't the primary goal of this project initially, I'll consider adding this. Having said that, I believe what you're suggesting will not work as I believe it will break internal connection and transaction management within ambient context. I'm going to reopen this and consider adding an integration point for this.

@sakopov sakopov reopened this Mar 17, 2019
@sakopov sakopov self-assigned this Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants