private Edge DeserializeEdge(RedisResult[] rawEdgeData) { var edge = new Edge((int)rawEdgeData[0]) { RelationshipType = _graphCache.GetRelationshipType((int)rawEdgeData[1]), SourceId = (int)rawEdgeData[2], DestinationId = (int)rawEdgeData[3] }; DeserializeGraphEntityProperties(edge, (RedisResult[])rawEdgeData[4]); return(edge); }
private Edge DeserializeEdge(RedisResult[] rawEdgeData) { var edge = new Edge(); DeserializeGraphEntityId(edge, rawEdgeData[0]); edge.RelationshipType = _graphCache.GetRelationshipType((int)rawEdgeData[1]); edge.Source = (int)rawEdgeData[2]; edge.Destination = (int)rawEdgeData[3]; DeserializeGraphEntityProperties(edge, (RedisResult[])rawEdgeData[4]); return(edge); }