4 writes to entryIndex
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (4)
4545
this.
entryIndex
++;
4558
this.
entryIndex
++;
5399
this.
entryIndex
= 0;
5643
this.
entryIndex
++;
14 references to entryIndex
System.Data.Services.Client (14)
System\Data\Services\Client\DataServiceContext.cs (14)
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,
4342
PerRequest.ContentStream contentStream = this.CreateChangeData(this.
entryIndex
, false);
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
];
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
];