[DBTables] Use a reference of DBAgent instead of a pointer.

It's always has a body, never become a null.