Replies: 3 comments 6 replies
-
You should be able to accomplish this by creating your own ConnectionProvider. |
Beta Was this translation helpful? Give feedback.
-
What database are you talking about? If it is SQL Server, then |
Beta Was this translation helpful? Give feedback.
-
Which version of nhibernate are you using? I'm using 4.0.0. and using System.Data.SqlClient 4.0.0. I'm getting error "Login failed for user ''". Here's the code:var sqlConnection = new SqlConnection(connectionString); |
Beta Was this translation helpful? Give feedback.
-
Has anyone had any luck configuring nhibernate to connect to Azure SQL db using Managed Identity. This removes the username / password from the connection string altogether and uses an access token retrieved from the Microsoft.Azure.Services.AppAuthentication library. Any insights into this would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions