We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
Is fluent-nhibernate can use Microsoft.Data.SqlClient?
And how to use it..
I see in this issue nhibernate/nhibernate-core#2216 has fix it, But how about for fluent-nhibernate?
Thanks.
The text was updated successfully, but these errors were encountered:
Fluent NHibernate is used for mapping and doesn't care how NHibernate connects to the database.
Sorry, something went wrong.
You need to add .Driver<MicrosoftDataSqlClientDriver>() in the configuration:
Fluently.Configure() .Database( MsSqlConfiguration.MsSql2012 .Driver<MicrosoftDataSqlClientDriver>() .ConnectionString(connectionString) ) .Mappings(...) .BuildSessionFactory();
No branches or pull requests
Is fluent-nhibernate can use Microsoft.Data.SqlClient?
And how to use it..
I see in this issue nhibernate/nhibernate-core#2216 has fix it, But how about for fluent-nhibernate?
Thanks.
The text was updated successfully, but these errors were encountered: