/** * Delete or soft delete all records, depending on AbsenceEleveSaisiePeer::$softDelete * * @param PropelPDO $con the connection to use * @return int The number of affected rows (if supported by underlying database driver). * @throws PropelException Any exceptions caught during processing will be * rethrown wrapped into a PropelException. */ public static function doDeleteAll(PropelPDO $con = null) { if (AbsenceEleveSaisiePeer::isSoftDeleteEnabled()) { return AbsenceEleveSaisiePeer::doSoftDeleteAll($con); } else { return AbsenceEleveSaisiePeer::doForceDeleteAll($con); } }