Hello,
is it possible to change client components for mssql from "System.Data.SqlClient" to "Microsoft.Data.SqlClient"? Currently, when changing components, I am getting error "System.Data.SqlClient is not supported on this platform.".
Rgds,
Frenk
Change from system.data.sqlclient to Microsoft.data.sqlclient
-
- Posts: 7339
- Joined: Tue Mar 20, 2018 5:34 am
Re: Change from system.data.sqlclient to Microsoft.data.sqlclient
Hello,
Please clarify which product and version are you use?
Thank you.
Please clarify which product and version are you use?
Thank you.
Re: Change from system.data.sqlclient to Microsoft.data.sqlclient
latest, Stimulsoft.Reports.Web.NetCore, 2020.4.1
currently, I am adding connection via "dictionary":
is there any settings where I tell that StiSqlDatabase uses "Microsoft.Data.SqlClient" instead of "System.Data.SqlClient"?
Rgds,
Frenk
currently, I am adding connection via "dictionary":
Code: Select all
this.Report.Dictionary.Databases.Add(new StiSqlDatabase(connName, connName, connString, false));
Rgds,
Frenk
-
- Posts: 7339
- Joined: Tue Mar 20, 2018 5:34 am
Re: Change from system.data.sqlclient to Microsoft.data.sqlclient
Hello,
Please provide more deatiled information, which platforms are you use?
System.Data.SqlClient is supported by most platforms, including all versions of NET Core
Thank you.
Please provide more deatiled information, which platforms are you use?
System.Data.SqlClient is supported by most platforms, including all versions of NET Core
Thank you.