I want to add Lable and properties of Node dynamically using Neo4jClient I try to solve it like following code,but it doesn't work.
client.Cypher
.Create("(person:Type)")
.WithParam("Type", "Vegetable")
.Set("person.property= \"zhai\"")
.WithParam("property", "name")
.ExecuteWithoutResults();
my Model is
class Data
{
public Data()
{
properties = new Hashtable();
}
private string type;
public string Type
{
get { return type; }
set { type = value; }
}
private Hashtable properties;
public Hashtable Properties
{
get { return properties; }
set { properties = value; }
}
}
I want to import the properties of Data into properties of node. Thx Z.Tom