/// <summary>
        /// Creates an <see cref="ODataWriter" /> to write an entry.
        /// </summary>
        /// <returns>The created writer.</returns>
        private ODataWriter CreateODataEntryWriterImplementation()
        {
            ODataJsonWriter odataJsonWriter = new ODataJsonWriter(this, false);

            this.outputInStreamErrorListener = odataJsonWriter;
            return(odataJsonWriter);
        }
        private ODataWriter CreateODataFeedWriterImplementation()
        {
            ODataJsonWriter writer = new ODataJsonWriter(this, true);

            this.outputInStreamErrorListener = writer;
            return(writer);
        }
示例#3
0
 private ODataWriter CreateODataEntryWriterImplementation()
 {
     ODataJsonWriter writer = new ODataJsonWriter(this, false);
     this.outputInStreamErrorListener = writer;
     return writer;
 }
 /// <summary>
 /// Creates an <see cref="ODataWriter" /> to write a feed.
 /// </summary>
 /// <returns>The created writer.</returns>
 private ODataWriter CreateODataFeedWriterImplementation()
 {
     ODataJsonWriter odataJsonWriter = new ODataJsonWriter(this, true);
     this.outputInStreamErrorListener = odataJsonWriter;
     return odataJsonWriter;
 }