how to using Microsoft.Data.SqlClient fluent-nhibernate #490
Answered
by
jornhd
rogeryamato
asked this question in
Q&A
-
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. |
Beta Was this translation helpful? Give feedback.
Answered by
jornhd
Feb 16, 2021
Replies: 2 comments 3 replies
-
Fluent NHibernate is used for mapping and doesn't care how NHibernate connects to the database. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to add .Driver<MicrosoftDataSqlClientDriver>() in the configuration:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
hazzik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to add .Driver<MicrosoftDataSqlClientDriver>() in the configuration: