public void deleteById ( Object id ) { int count = beginDelete ( ) . whereEquals ( idColumn . getColumnName ( ) , id ) . delete ( ) ; if ( count == 0 ) { throw new RowNotFoundException ( table , id ) ; } }
Deletes an entity by its primary key .