Reputation: 75
In MAUI application I add a reference to Microsoft.Data.SqlClient in order to work with SQL Server. I also add a Dataset and create some dataadapters. Designer generates the code where it references System.Data.SqlClient, which accordingly are all unresolved. Is there a way to "redirect" all references of System.Data.SQLClient to Microsoft.Data.SqlClient, assuming that all objects and members are the same? Alternatively, is there a way to make dataset designer generate the code using Microsoft.Data.SqlClient ?
Upvotes: 0
Views: 58
Reputation: 75
Found the answer to part 2: the choice between system.data.sqlclient and microsoft.data.sqlclient is made at the time of specifying the connection/data source.
Upvotes: 0