Created generic methods for the database command execution class rather
than the class itself being a generic class.