public static DaoSession newDevSession(Context context, String name) {
        Database db = new DevOpenHelper(context, name).getWritableDb();
        DaoMaster daoMaster = new DaoMaster(db);
        return daoMaster.newSession();
    }
WARNING: Drops all table on Upgrade! Use only during development.
Convenience method using a {@link DevOpenHelper}.
app/src/main/java/com/zhao/myreader/greendao/gen/DaoMaster.java