2 writes to ChangedEntries
System.Data.Services.Client (2)
System\Data\Services\Client\DataServiceContext.cs (2)
4145
this.
ChangedEntries
= context.entityDescriptors.Values.Cast<Descriptor>()
4176
this.
ChangedEntries
= new List<Descriptor>();
29 references to ChangedEntries
System.Data.Services.Client (29)
System\Data\Services\Client\DataServiceContext.cs (29)
4151
foreach (Descriptor e in this.
ChangedEntries
)
4212
foreach (EntityDescriptor box in this.
ChangedEntries
.Where(e => e.IsResource).Cast<EntityDescriptor>())
4330
if ((null != httpWebRequest) || (this.entryIndex < this.
ChangedEntries
.Count))
4332
if (this.
ChangedEntries
[this.entryIndex].ContentGeneratedForSave)
4334
Debug.Assert(this.
ChangedEntries
[this.entryIndex] is LinkDescriptor, "only expected RelatedEnd to presave");
4336
this.
ChangedEntries
[this.entryIndex].State == EntityStates.Added ||
4337
this.
ChangedEntries
[this.entryIndex].State == EntityStates.Modified,
4441
Debug.Assert(this.entryIndex < this.
ChangedEntries
.Count || this.
ChangedEntries
.All(o => o.ContentGeneratedForSave), "didn't generate content for all entities/links");
4551
Debug.Assert(this.
ChangedEntries
[this.entryIndex].IsResource, "Only resources can have MR's.");
4552
EntityDescriptor box = (EntityDescriptor)this.
ChangedEntries
[this.entryIndex];
4570
if (unchecked((uint)this.entryIndex < (uint)this.
ChangedEntries
.Count))
4572
Descriptor entry = this.
ChangedEntries
[this.entryIndex];
4795
Descriptor entry = this.
ChangedEntries
[index];
4899
this.buildBatchWriter.WriteLine("{0}: {1}", XmlConstants.HttpContentID, this.
ChangedEntries
[this.entryIndex].ChangeOrder);
4916
this.
ChangedEntries
[this.entryIndex].ContentGeneratedForSave = true;
4926
Descriptor entry = this.
ChangedEntries
[this.entryIndex];
5067
else if (0 == this.
ChangedEntries
.Count)
5098
else if (0 < this.
ChangedEntries
.Count)
5104
for (int i = 0; i < this.
ChangedEntries
.Count; ++i)
5118
Descriptor entry = this.
ChangedEntries
[i];
5211
Debug.Assert(this.
ChangedEntries
.All(o => o.ContentGeneratedForSave), "didn't generated content for all entities/links");
5504
entry = this.
ChangedEntries
[index];
5629
this.
ChangedEntries
[index].SaveError = e;
5634
new ChangeOperationResponse(contentHeaders, this.
ChangedEntries
[index]);
5661
this.
ChangedEntries
.Any(o => o.ContentGeneratedForSave && 0 == o.SaveResultWasProcessed) &&
5662
(!IsFlagSet(this.options, SaveChangesOptions.Batch) || null == this.
ChangedEntries
.FirstOrDefault(o => null != o.SaveError)))) ||
5687
for (int i = 0; i < this.
ChangedEntries
.Count; ++i)
5689
if (this.
ChangedEntries
[i].ChangeOrder == contentID)