Пример #1
0
 protected internal override void Serialize(MappingSerializer serializer)
 {
     _uris.forEach((key, uri) =>
     {
         if (uri.Absolute)
         {
             serializer.putAbsoluteUri(key, uri);
         }
         else
         {
             serializer.PutRelativeUri(key, uri.ToString());
         }
     });
 }
Пример #2
0
 internal override void putTo(MappingSerializer serializer, string key)
 {
     serializer.PutRelativeUri(key, _path);
 }
Пример #3
0
 protected internal override void Serialize(MappingSerializer serializer)
 {
     serializer.PutRelativeUri("node", PATH_NODES);
     serializer.PutRelativeUri("relationship", PATH_RELATIONSHIPS);
     serializer.PutRelativeUri("node_index", PATH_NODE_INDEX);
     serializer.PutRelativeUri("relationship_index", PATH_RELATIONSHIP_INDEX);
     serializer.PutRelativeUri("extensions_info", PATH_EXTENSIONS);
     serializer.PutRelativeUri("relationship_types", PATH_RELATIONSHIP_TYPES);
     serializer.PutRelativeUri("batch", PATH_BATCH);
     serializer.PutRelativeUri("cypher", PATH_CYPHER);
     serializer.PutRelativeUri("indexes", PATH_SCHEMA_INDEX);
     serializer.PutRelativeUri("constraints", PATH_SCHEMA_CONSTRAINT);
     serializer.PutRelativeUri("transaction", PATH_TRANSACTION);
     serializer.PutRelativeUri("node_labels", PATH_LABELS);
     serializer.PutString("neo4j_version", Version.Neo4jVersion);
 }