A simple database operation class, for Sql Server and Sqlite