19 references to bindings
System.Data.Services.Client (19)
System\Data\Services\Client\DataServiceContext.cs (19)
403return this.bindings.Values.OrderBy(l => l.ChangeOrder).ToList().AsReadOnly(); 508if (this.bindings.TryGetValue(new LinkDescriptor(source, sourceProperty, target), out link)) 1226if (this.bindings.ContainsKey(relation)) 1232this.bindings.Add(relation, relation); 1268if (!this.bindings.TryGetValue(relation, out existing)) 1297if (this.bindings.TryGetValue(relation, out existing) && (EntityStates.Added == existing.State)) 1310this.bindings.Add(relation, relation); 1351this.bindings.Add(relation, relation); 1461this.bindings.Add(end, end); 1725LinkDescriptor end = this.bindings[resource.GetRelatedEnd()]; 1761LinkDescriptor end = this.bindings[resource.GetRelatedEnd()]; 1787if (this.bindings.TryGetValue(relation, out existing)) 1817this.bindings.Add(relation, relation); 2139return this.bindings.Values.Where(o => (o.Source == source) && (o.SourceProperty == sourceProperty)); 2619foreach (LinkDescriptor end in this.bindings.Values.Where(resource.IsRelatedEntity).ToList()) 3185foreach (LinkDescriptor end in this.bindings.Values) 3402if (this.bindings.Remove(existingLink)) 3430Debug.Assert(!this.bindings.Values.Any(o => (o.Source == source) && (o.SourceProperty == sourceProperty)), "only expecting one"); 4146.Union(context.bindings.Values.Cast<Descriptor>())