/// <summary>
        /// Creates an <see cref="ODataParameterWriter" /> to write a parameter payload.
        /// </summary>
        /// <param name="functionImport">The function import whose parameters will be written.</param>
        /// <returns>The created parameter writer.</returns>
        private ODataParameterWriter CreateODataParameterWriterImplementation(IEdmFunctionImport functionImport)
        {
            ODataJsonParameterWriter jsonParameterWriter = new ODataJsonParameterWriter(this, functionImport);

            this.outputInStreamErrorListener = jsonParameterWriter;
            return(jsonParameterWriter);
        }
示例#2
0
 private ODataParameterWriter CreateODataParameterWriterImplementation(IEdmFunctionImport functionImport)
 {
     ODataJsonParameterWriter writer = new ODataJsonParameterWriter(this, functionImport);
     this.outputInStreamErrorListener = writer;
     return writer;
 }