<BUG>List<BLinkData> list = DaoCore.fetchEntitiesWithProperty(BLinkData.class, BLinkDataDao.Properties.ThreadID, model.getId());</BUG><CONTEXT>DatabaseReference threadUserRef = FirebasePaths.threadRef(entityId).child(BFirebaseDefines.Path.BUsersPath).child(getNetworkAdapter().currentUserModel().getEntityID()).child(BDefines.Keys.BLeaved);threadUserRef.setValue(true);<extra_id_0>DaoCore.deleteEntity(model);for (BLinkData d : list)DaoCore.deleteEntity(d);</CONTEXT>
List<BLinkData> list = DaoCore.fetchEntitiesWithProperty(BLinkData.class, BLinkDataDao.Properties.BThreadDaoId, model.getId());