diff --git a/DaoCore/src/de/greenrobot/dao/AbstractDaoSession.java b/DaoCore/src/de/greenrobot/dao/AbstractDaoSession.java index 6a37ef2a6..dccae4ccd 100644 --- a/DaoCore/src/de/greenrobot/dao/AbstractDaoSession.java +++ b/DaoCore/src/de/greenrobot/dao/AbstractDaoSession.java @@ -15,6 +15,7 @@ */ package de.greenrobot.dao; +import java.lang.Iterable; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -134,6 +135,10 @@ public QueryBuilder queryBuilder(Class entityClass) { return dao; } + public Iterable> getAllDaos() { + return entityToDao.values(); + } + /** * Run the given Runnable inside a database transaction. If you except a result, consider callInTx. */