First question: when does greenDao generate a delete function for an object? And what's the difference between calls to entity.delete() and session.getEntityDao.delete(entity) ?
Secondly, if I delete a parent with a child that has a ToOne relationship with the parent, I must delete the child myself, right? In fact, the automatic dependency "cleaning" is not performed, right?
android orm greendao
prom85
source share