Created own dbTable class to get access to primary key, without metadata lookup