Net.Graph.Neo4JD.Relationship.GetProperties C# (CSharp) Method

GetProperties() public method

public GetProperties ( ) : string
return string
        public override string GetProperties()
        {
            string data= base.GetProperties().ToString();
            JObject props = new JObject();
            props.Add("to", new JValue(_toNodeLocation));
            props.Add("type", new JValue(_type));
            //props.Add("data", new JValue(data));

            return props.ToString();
        }

Usage Example

Exemplo n.º 1
0
 public Relationship CreateRelationship(Node parent, Relationship relationShip)
 {
     var result = _graphRequest.Post(RequestType.POST, new Uri(string.Concat(parent.GetLocation(), @"/relationships")), relationShip.GetProperties());
     relationShip.SetLocation(result.GetLocation());
     return relationShip;
 }