DBandQueryClass