public class PostDAO extends BaseDAO<PostEntity>
| 构造器和说明 |
|---|
PostDAO(DAOSession session) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.Class<PostEntity> |
getEntityClass()
如果重写了getEntityClass方法,就可以不重写其他所有DAO
|
add, addOrUpdate, count, find, findInProjection, findInProjection, findOne, findWithTotalCount, getById, getSession, remove, remove, updatepublic PostDAO(DAOSession session)
protected java.lang.Class<PostEntity> getEntityClass()
BaseDAOgetEntityClass 在类中 BaseDAO<PostEntity>