public function save()
    {

        $con = Propel::getWriteConnection(RecordTableMap::DATABASE_NAME);
        $con->beginTransaction();

        foreach ($this->recordsPerPlayer as $record) {
            $record->save();
        }

        $con->commit();

        RecordTableMap::clearInstancePool();
    }
public function save()
    {

        $con = Propel::getWriteConnection(RecordTableMap::DATABASE_NAME);
        $con->beginTransaction();

        foreach ($this->recordsPerPlayer as $record) {
            $record->save();
        }

        $con->commit();

        RecordTableMap::clearInstancePool();
    }
public function save ( ) { $ con = Propel :: getWriteConnection ( RecordTableMap :: DATABASE_NAME ) ; $ con -> beginTransaction ( ) ; foreach ( $ this -> recordsPerPlayer as $ record ) { $ record -> save ( ) ; } $ con -> commit ( ) ; RecordTableMap :: clearInstancePool ( ) ; }
Save all new records.

@throws \Propel\Runtime\Exception\PropelException
Save all new records .