I'm writing an app that is going to need access to the database to perform certain functions. I would like to design this with the option of selling it later on.
My question is, what is the accepted way of accessing the database? The programs I've wrote right now has direct access to it via .net code. I'm thinking though that other people might not have direct access to their db. Should I write a custom web service that can be uploaded to the site?