1 write to graph
System.Data.Services.Client (1)
System\Data\Services\Client\Binding\BindingGraph.cs (1)
56
this.
graph
= new Graph();
29 references to graph
System.Data.Services.Client (29)
System\Data\Services\Client\Binding\BindingGraph.cs (29)
77
if (this.
graph
.ExistsVertex(collection))
82
Vertex collectionVertex = this.
graph
.AddVertex(collection);
90
collectionVertex.Parent = this.
graph
.LookupVertex(source);
92
this.
graph
.AddEdge(source, collection, sourceProperty);
112
this.
graph
.Root = collectionVertex;
158
Vertex sourceVertex = this.
graph
.LookupVertex(edgeSource);
166
entityVertex = this.
graph
.LookupVertex(target);
170
entityVertex = this.
graph
.AddVertex(target);
184
if (this.
graph
.ExistsEdge(edgeSource, target, sourceVertex.IsCollection ? null : sourceProperty))
189
this.
graph
.AddEdge(edgeSource, target, sourceVertex.IsCollection ? null : sourceProperty);
230
Vertex vertexToRemove = this.
graph
.LookupVertex(item);
274
this.
graph
.RemoveEdge(parent, item, null);
281
Vertex collectionVertex = this.
graph
.LookupVertex(collection);
286
this.
graph
.RemoveEdge(collection, collectionEdge.Target.Item, null);
298
Edge edge = this.
graph
304
this.
graph
.RemoveEdge(edge.Source.Item, edge.Target.Item, edge.Label);
324
foreach (var entity in this.
graph
.Select(o => BindingEntityInfo.IsEntityType(o.GetType()) && !this.observer.IsContextTrackingEntity(o)))
326
this.
graph
.ClearEdgesForVertex(this.
graph
.LookupVertex(entity));
340
Vertex collectionVertex = this.
graph
.LookupVertex(collection);
351
this.
graph
.Reset(this.DetachNotifications);
358
this.
graph
.RemoveUnreachableVertices(this.DetachNotifications);
375
Debug.Assert(this.
graph
.ExistsVertex(collection), "Vertex corresponding to 'collection' must exist in the graph.");
377
this.
graph
397
Vertex childVertex = this.
graph
.LookupVertex(entity);
421
Vertex parentVertex = this.
graph
.LookupVertex(source);
425
Vertex complexVertex = this.
graph
.LookupVertex(target);
429
complexVertex = this.
graph
.AddVertex(target);
444
this.
graph
.AddEdge(source, target, sourceProperty);