Open michaelmarcuccio opened 5 years ago
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.
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