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