コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public boolean visit(org.neo4j.kernel.impl.transaction.CommittedTransactionRepresentation transaction) throws Exception
            public override bool Visit(CommittedTransactionRepresentation transaction)
            {
                TransactionRepresentation txRepresentation = transaction.TransactionRepresentation;
                long txId             = transaction.CommitEntry.TxId;
                TransactionToApply tx = new TransactionToApply(txRepresentation, txId);

                tx.Commitment(NO_COMMITMENT, txId);
                tx.LogPosition(transaction.StartEntry.StartPosition);
                StorageEngine.apply(tx, Mode);
                return(false);
            }