public class DaoMaster
extends de.greenrobot.dao.AbstractDaoMaster
| Modifier and Type | Class and Description |
|---|---|
static class |
DaoMaster.DevOpenHelper
WARNING: Drops all table on Upgrade! Use only during development.
|
static class |
DaoMaster.OpenHelper |
| Modifier and Type | Field and Description |
|---|---|
static int |
SCHEMA_VERSION |
| Constructor and Description |
|---|
DaoMaster(SQLiteDatabase db) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createAllTables(SQLiteDatabase db,
boolean ifNotExists)
Creates underlying database table using DAOs.
|
static void |
dropAllTables(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(SQLiteDatabase db,
boolean ifNotExists)
public static void dropAllTables(SQLiteDatabase db,
boolean ifExists)
public DaoSession newSession()
newSession in class de.greenrobot.dao.AbstractDaoMasterpublic DaoSession newSession(de.greenrobot.dao.identityscope.IdentityScopeType type)
newSession in class de.greenrobot.dao.AbstractDaoMaster