Hi,
The docs are undergoing a bit of an overhaul - IRelationship shouldn't be used, it is legacy - I'll look into getting that fixed...
In terms of a quick (very quick) example:
//Create
var by = new BetterThan {By = 10};
gc.Cypher
.Match("(m1:Movie {title:'The Matrix'}),(m2:Movie {title:'The Matrix Reloaded'})")
.Create("(m1)-[r:BETTER_THAN {byParam}]->(m2)")
.WithParam("byParam", by)
.ExecuteWithoutResults();
//Get
var results = gc.Cypher
.Match("(m1:Movie {title:'The Matrix'})-[r:BETTER_THAN]->(m2:Movie {title:'The Matrix Reloaded'})")
.Return(r => r.As<BetterThan>())
.Results;
foreach (var betterThan in results)
Console.WriteLine("Better Than By: {0}", betterThan.By);