November 2013 Entries

A Clear DB solution for Neo4j 2.0 RC1

The old skool way (pre RC1) of wiping the database was: //Clear DB START n=node(*) MATCH (n)-[r?]-() DELETE n, r Which worked fine for M06 and previous, but, RC1 doesn’t allow optional relationships (using the ? operator) you’ll need to update to: //Clear DB START n=node(*) OPTIONAL MATCH (n)-[r]-() DELETE n, r ......

Using Neo4j with F# – Cypher 2.0

There’s an excellent post by Sergey Tihon about using Neo4j with F#, written back in March, before Neo4j began the progression into Cypher 2.0. (Gist for this here: https://gist.github.com/csk... Some of the benefits of the newer Neo4jClient versions are the general move away from using Node / NodeReferences and going for a more consistent Cypher only approach, so I’ve updated the code by Sergey to use the 2.0 stuff (as part of the process of answering this StackOverflow question). BTW: ......

Extending Blend for Visual Studio 2013

So, I got a comment yesterday on my post about Extending Blend 4 and Blend for Visual Studio 2012 asking if I knew how to get it working for Blend for Visual Studio 2013.. My initial thoughts were, just change the location to get the blend dlls from Visual Studio 11.0 to 12.0 and you’re all set, so I went to do that, only to discover that the dlls I normally reference, well – they don’t exist. So… I’ve made a presumption that the actual process of using MEF etc is still the same. I was wrong. So, ......