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