예제 #1
0
        private static void Migrate <RECORD>(RecordStore <RECORD> from, RecordStore <RECORD> to) where RECORD : Org.Neo4j.Kernel.impl.store.record.AbstractBaseRecord
        {
            to.HighestPossibleIdInUse = from.HighestPossibleIdInUse;

            from.ScanAllRecords(record =>
            {
                to.PrepareForCommit(record);
                to.UpdateRecord(record);
                return(false);
            });
        }