I am informed that the import is un-necessary and the places in the code that accesses the database are shown as errors.
Just changing your namespace don't changes your data access code; you have to modify that as well and therefore you get the error messages.
E.g. instead of SqlConnection you have to use OdbcConnection class, see
https://learn.microsoft.com/en-us/dotnet/api/system.data.odbc.odbcconnection?view=net-9.0-pp