graphClient.Create(foo);
J
Typically though, you’d want to relate that node to something else, so use an overload that includes creating relationships. If you don’t have any relationships or index entries, you don’t have a way to find that node again in the future.
--
Tatham
--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group, send email to neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
If ‘foo’ is an instance of class Foo how does the database know about the members in Foo? What are the restrictions of the object foo?
Thanks again.
We serialize your object using JSON.NET.
Keep the types simple and flat. Strings, ints, dates, etc. Stuff that Neo4j can handle in a node.
Thank you. You say neo4jclient does the serialization? I don’t need to look for a generic version of the Create call. If such a method exits then is calling that method preferable? Next how do I create an index on one of the properties in the class so I can query against it with the value of the property?