17 references to Source
System.Data.Services.Client (17)
System\Data\Services\Client\AtomMaterializerLog.cs (7)
148(EntityStates.Deleted == this.context.GetEntityDescriptor(link.Source).State)) 150this.context.DeleteLink(link.Source, link.SourceProperty, link.Target); 154this.context.AttachLink(link.Source, link.SourceProperty, link.Target, this.mergeOption); 163LinkDescriptor end = this.context.GetLinks(link.Source, link.SourceProperty).FirstOrDefault(); 171(EntityStates.Deleted == this.context.GetEntityDescriptor(link.Source).State)) 177this.context.AttachLink(link.Source, link.SourceProperty, target, this.mergeOption); 183this.context.DetachLink(link.Source, link.SourceProperty, link.Target);
System\Data\Services\Client\DataServiceContext.cs (8)
2139return this.bindings.Values.Where(o => (o.Source == source) && (o.SourceProperty == sourceProperty)); 2391bool collection = (null != ClientType.Create(link.Source.GetType()).GetProperty(link.SourceProperty, false).CollectionType); 2662EntityDescriptor sourceResource = this.entityDescriptors[binding.Source]; 2703bool collection = (null != ClientType.Create(binding.Source.GetType()).GetProperty(binding.SourceProperty, false).CollectionType); 2736EntityDescriptor sourceResource = this.entityDescriptors[binding.Source]; 3187if (end.Source == box.Entity) 3393if (Object.ReferenceEquals(targetResource.ParentEntity, existingLink.Source) && 3430Debug.Assert(!this.bindings.Values.Any(o => (o.Source == source) && (o.SourceProperty == sourceProperty)), "only expecting one");
System\Data\Services\Client\EntityDescriptor.cs (1)
405return ((this.entity == related.Source) || (this.entity == related.Target));
System\Data\Services\Client\LinkDescriptor.cs (1)
121return (null != obj) ? (obj.Source.GetHashCode() ^ ((null != obj.Target) ? obj.Target.GetHashCode() : 0) ^ obj.SourceProperty.GetHashCode()) : 0;