completed entity framework database adapter