I am new to neo4jclient, consider the below case
node:
name : Person A
age : 25
class:
public class Person
{
public string name { get; set; }
}
using the below query
var persons = client
.Cypher
.Start("n", "node(*)")
.Return<Node<Person>>("n")
.Results
.Select(un => un.Data);
The above query executed successfully but in the Person
object I have only 'name' property and I don't have the 'age' property. My question is: how can I get the property name and its value, for property that is not defined in the Person class.
Is it possible to get the all properties names and values?