internal EdgeCollection(string edgeLabel, IGraphContext context, GraphDataEntity parent, string reverseLabel)
 {
     _edgeLabel    = edgeLabel;
     _context      = context;
     _parent       = parent;
     _reverseLabel = reverseLabel;
 }
Exemplo n.º 2
0
 public Edge(string id, T vertex, GraphDataEntity parent, IGraphContext context)
 {
     Vertex   = vertex;
     _id      = id;
     _parent  = parent;
     _context = context;
 }
Exemplo n.º 3
0
 public Edge(string id, GraphDataEntity parent, IGraphContext context)
 {
     _id        = id;
     _parent    = parent;
     _context   = context;
     Properties = new Dictionary <string, object>();
 }
Exemplo n.º 4
0
 internal EdgeReference(string edgeLabel, IGraphContext context, GraphDataEntity parent, string reverseLabel,
                        string gremlinQuery)
 {
     _innerCollection = gremlinQuery.ContainsCharacters()
         ? new EdgeCollection <T>(gremlinQuery, context, parent)
         : new EdgeCollection <T>(edgeLabel, context, parent, reverseLabel);
 }
Exemplo n.º 5
0
 public InlineCollection(string inlineString, GraphDataEntity parent, string name) : this(parent, name)
 {
     _internal = JsonConvert.DeserializeObject <List <T> >(inlineString);
 }
Exemplo n.º 6
0
 public InlineCollection(GraphDataEntity parent, string name) : this()
 {
     _parent = parent;
     _name   = name;
 }
 internal EdgeCollection(string gremlinQuery, IGraphContext context, GraphDataEntity parent)
 {
     _gremlinQuery = gremlinQuery;
     _context      = context;
     _parent       = parent;
 }