ErikEJ / EntityFramework6PowerTools

This is the codebase for Entity Framework 6 Power Tools Community Edition, and modern EF 6 providers for SQL Server and SQL Server Compact
Other
183 stars 27 forks source link

Interceptors are still using System.Data.SqlClient #141

Closed swissarmykirpan closed 7 months ago

swissarmykirpan commented 8 months ago

Hello,

I am trying to modify the connectionstring on the fly in a way that allows me to use the IDbConnectionInterceptor abstraction.

The problem I am running into is that it utilises the System.Data.SqlClient provider and so my connectionstrings which are for Sql Azure and use managed identity, do not work!

Can you suggest a workaround?

Kind regards, Gurpreet

ErikEJ commented 8 months ago

Please provide more info -are you using my "new" provider? If so, please provide a runnable console app that demonstrates the issue, and I will have a look.