1 write to context
System.Data.Services.Client (1)
System\Data\Services\Client\AtomMaterializerLog.cs (1)
71
this.
context
= context;
16 references to context
System.Data.Services.Client (16)
System\Data\Services\Client\AtomMaterializerLog.cs (16)
117
descriptor = this.
context
.InternalAttachEntityDescriptor(descriptor, false);
129
this.
context
.TryGetEntity(entity.Key, entry.ETagText, this.mergeOption, out state);
138
EntityDescriptor descriptor = this.
context
.GetEntityDescriptor(entry.ResolvedObject);
147
if ((EntityStates.Deleted == this.
context
.GetEntityDescriptor(link.Target).State) ||
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();
170
if ((null != target) && (EntityStates.Deleted == this.
context
.GetEntityDescriptor(target).State) ||
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);
239
this.
context
.AttachIdentity(entry.Identity, entry.QueryLink, entry.EditLink, entry.ResolvedObject, entry.ETagText);
267
this.
context
.TryGetEntity(entry.Identity, entry.ETagText, this.mergeOption, out state);
427
descriptor.EditStreamUri = new Uri(this.
context
.BaseUriWithSlash, entry.MediaEditUri);
432
descriptor.ReadStreamUri = new Uri(this.
context
.BaseUriWithSlash, entry.MediaContentUri);