protected internal Node(RELATIONSHIP fromRelationship, DirectionEnum direction, string label) : this() { FromRelationship = fromRelationship; Direction = direction; FromRelationship.ToNode = this; Neo4jLabel = label ?? GetNeo4jLabel(); }
private void GetDirection(RELATIONSHIP relationship, StringBuilder sb) { switch (relationship.Direction) { case DirectionEnum.In: sb.Append("-"); break; case DirectionEnum.Out: sb.Append("<-"); break; case DirectionEnum.None: sb.Append("-"); break; default: throw new NotSupportedException(); } }