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!
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.
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 usemanaged identity
, do not work!Can you suggest a workaround?
Kind regards, Gurpreet