private void WriteEndBatchImplementation() { this.WritePendingMessageData(true); this.SetState(BatchWriterState.BatchCompleted); ODataBatchWriterUtils.WriteEndBoundary(this.rawOutputContext.TextWriter, this.batchBoundary, !this.batchStartBoundaryWritten); this.rawOutputContext.TextWriter.WriteLine(); }
private void WriteEndChangesetImplementation() { this.WritePendingMessageData(true); string changeSetBoundary = this.changeSetBoundary; this.SetState(BatchWriterState.ChangeSetCompleted); ODataBatchWriterUtils.WriteEndBoundary(this.rawOutputContext.TextWriter, changeSetBoundary, !this.changesetStartBoundaryWritten); this.urlResolver.Reset(); this.currentOperationContentId = null; }