r/visualbasic • u/Rocket-Reatre • Sep 12 '18
Access DAO to SQL database.
Hello guys,
I've asked this question before, without any success. Now I got a little more experienced, so I'm able to explain myself better.
My company has a huge VB, wich contains of 15000 lines. Now this is connected to a access db, but because it needs to connect to a Maximo environment, it need to change to a sql database.
What are the easy ways or hard ways for me to change this. Or is there even an option to change this?
5
Upvotes
2
u/andrewsmd87 Web Specialist Sep 12 '18
It works in pretty much the same way as ado. You'd just change what provider you're using.
Sorry I don't have any code samples because it's been years since I've used that. Most people use some form of modeling framework like linq or entity framework. But that would require a complete rebuild for you