Skip to content
New issue

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

Update System.Data.SqlClient to Microsoft.Data.SqlClient #82

Open
jonreding2010 opened this issue Jul 20, 2023 · 0 comments
Open

Update System.Data.SqlClient to Microsoft.Data.SqlClient #82

jonreding2010 opened this issue Jul 20, 2023 · 0 comments

Comments

@jonreding2010
Copy link
Contributor

jonreding2010 commented Jul 20, 2023

From https://learn.microsoft.com/en-us/sql/connect/ado-net/introduction-microsoft-data-sqlclient-namespace?view=sql-server-ver16

The Microsoft.Data.SqlClient namespace is essentially a new version of the System.Data.SqlClient namespace. Microsoft.Data.SqlClient generally maintains the same API and backwards compatibility with System.Data.SqlClient

This would give us access to new and helpful functionalities like setting the Command Timeout directly from the Connection Strings. MAQS does currently support setting the Command Timeout but this needs to be set for every Query method call. This would help us support long running queries from specific databases.

Update in: https://github.com/OpenMAQS/maqs-dotnet/blob/main/Framework/BaseDatabaseTest/Providers/SQLServerProvider.cs

original Issue can be found here: https://github.com/CognizantOpenSource/maqs-dotnet/issues

@jonreding2010 jonreding2010 changed the title Assess to change Update System.Data.SqlClient to Microsoft.Data.SqlClient Update System.Data.SqlClient to Microsoft.Data.SqlClient Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant