What you describe is a form of a three tier layered architecture where you separated the data access layer (Database Wrapper) from the data store (database).
Check this article from msdn or the obligatory wikipedia article. Look at this image from another article: