get entity table through di container.