public boolean delete(final long id) {
        SQLiteDatabase database = openDB();
        try {
            int delete = database.delete(tableName, EntityData.getEntityData(entityClass).primaryKey.getName() + "= ?", new String[]{Long.toString(id)});
            return delete == 1;
        } finally {
            closeDB(database);
        }
    }
public boolean delete(final long id) {
        SQLiteDatabase database = openDB();
        try {
            int delete = database.delete(tableName, EntityData.getEntityData(entityClass).primaryKey.getName() + "= ?", new String[]{Long.toString(id)});
            return delete == 1;
        } finally {
            closeDB(database);
        }
    }
public boolean delete ( final long id ) { SQLiteDatabase database = openDB ( ) ; try { int delete = database . delete ( tableName , EntityData . getEntityData ( entityClass ) . primaryKey . getName ( ) + "= ?" , new String [ ] { Long . toString ( id ) } ) ; return delete == 1 ; } finally { closeDB ( database ) ; } }
Deletes the data of the {@link Entity} for the given id

@param id primary key of the {@link Entity} to be deleted
@return <code>true</code> if the {@link Entity} could be deleted, <code>false</code> otherwise
Deletes the data of the { @link Entity } for the given id