예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("boxing") @Override public Void beforeCommit(org.neo4j.graphdb.event.TransactionData data)
            public override Void BeforeCommit(TransactionData data)
            {
                if (Iterables.count(data.CreatedRelationships()) == 0)
                {
                    return(null);
                }

                Node.setProperty("counter", (( long? )Node.removeProperty("counter")) + 1);
                return(null);
            }
예제 #2
0
 public override void AfterCommit(TransactionData data, Void state)
 {
     // nothing
 }
예제 #3
0
 public override void AfterRollback(TransactionData data, Void state)
 {
     // nothing
 }