public class DaoMaster
extends de.greenrobot.dao.AbstractDaoMaster
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DaoMaster.DevOpenHelper
WARNING: Drops all table on Upgrade!
|
static class |
DaoMaster.OpenHelper |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
SCHEMA_VERSION |
| 构造器和说明 |
|---|
DaoMaster(android.database.sqlite.SQLiteDatabase db) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
createAllTables(android.database.sqlite.SQLiteDatabase db,
boolean ifNotExists)
Creates underlying database table using DAOs.
|
static void |
dropAllTables(android.database.sqlite.SQLiteDatabase db,
boolean ifExists)
Drops underlying database table using DAOs.
|
DaoSession |
newSession() |
DaoSession |
newSession(de.greenrobot.dao.identityscope.IdentityScopeType type) |
public static final int SCHEMA_VERSION
public static void createAllTables(android.database.sqlite.SQLiteDatabase db,
boolean ifNotExists)
public static void dropAllTables(android.database.sqlite.SQLiteDatabase db,
boolean ifExists)
public DaoSession newSession()
newSession 在类中 de.greenrobot.dao.AbstractDaoMasterpublic DaoSession newSession(de.greenrobot.dao.identityscope.IdentityScopeType type)
newSession 在类中 de.greenrobot.dao.AbstractDaoMaster