예제 #1
0
        private RECORD Prepared <RECORD, T1>(RecordAccess_RecordProxy <T1> proxy, RecordStore <RECORD> store) where RECORD : Org.Neo4j.Kernel.impl.store.record.AbstractBaseRecord
        {
            RECORD after = proxy.ForReadingLinkage();

            store.PrepareForCommit(after);
            return(after);
        }
예제 #2
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);
            });
        }