BaseDao<T extends BaseDbModel> constructor
Implementation
BaseDao(String tableName, String primaryKey) {
__tableName = tableName;
_primaryKey = primaryKey;
BaseDbManager manager = BaseDbManager.instance;
if (manager.oldVersion != -1 && manager.newVersion != -1) {
onUpgrade(manager.oldVersion, manager.newVersion);
}
}