⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 query_sale.cs

📁 一个教材管理。b/s结构,采用了webservice技术。
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.2914.16
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

namespace NKT.NP.OrderAgent.NKT.NP.BookSeller {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    
    
    [System.Web.Services.WebServiceBindingAttribute(Name="WS_Query_SaleSoap", Namespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx")]
    public class WS_Query_Sale : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public WS_Query_Sale() {
            this.Url = "http://202.113.27.43/BookSeller/Query_Sale.asmx";
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx/TotalPriceQuery", RequestNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", ResponseNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Decimal TotalPriceQuery(string strISBN, int nAmount, int nDelayDays) {
            object[] results = this.Invoke("TotalPriceQuery", new object[] {
                        strISBN,
                        nAmount,
                        nDelayDays});
            return ((System.Decimal)(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public System.IAsyncResult BeginTotalPriceQuery(string strISBN, int nAmount, int nDelayDays, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("TotalPriceQuery", new object[] {
                        strISBN,
                        nAmount,
                        nDelayDays}, callback, asyncState);
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public System.Decimal EndTotalPriceQuery(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Decimal)(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx/BookQuery", RequestNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", ResponseNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public CBook BookQuery(string strISBN) {
            object[] results = this.Invoke("BookQuery", new object[] {
                        strISBN});
            return ((CBook)(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public System.IAsyncResult BeginBookQuery(string strISBN, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("BookQuery", new object[] {
                        strISBN}, callback, asyncState);
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public CBook EndBookQuery(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((CBook)(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx/Buy", RequestNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", ResponseNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute("string", IsNullable=true)]
        public string[] Buy(string strBuyerIdentifier, string strISBN, int nAmount, int nDelayDays) {
            object[] results = this.Invoke("Buy", new object[] {
                        strBuyerIdentifier,
                        strISBN,
                        nAmount,
                        nDelayDays});
            return ((string[])(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public System.IAsyncResult BeginBuy(string strBuyerIdentifier, string strISBN, int nAmount, int nDelayDays, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("Buy", new object[] {
                        strBuyerIdentifier,
                        strISBN,
                        nAmount,
                        nDelayDays}, callback, asyncState);
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public string[] EndBuy(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string[])(results[0]));
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx/TransferInform", RequestNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", ResponseNamespace="http://nankai.edu.cn/NKT/NP/BookSeller/Query_Sale.asmx", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void TransferInform(string strPayerAccountID, string strPayeeAccountID, System.Decimal dcMoney, string strTranseIdentifier) {
            this.Invoke("TransferInform", new object[] {
                        strPayerAccountID,
                        strPayeeAccountID,
                        dcMoney,
                        strTranseIdentifier});
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public System.IAsyncResult BeginTransferInform(string strPayerAccountID, string strPayeeAccountID, System.Decimal dcMoney, string strTranseIdentifier, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("TransferInform", new object[] {
                        strPayerAccountID,
                        strPayeeAccountID,
                        dcMoney,
                        strTranseIdentifier}, callback, asyncState);
        }
        
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        public void EndTransferInform(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
    }
    
    public class CBook {
        
        public string BookName;
        
        public string ISBN;
        
        public string Author;
        
        public System.Decimal Price;
        
        public int Amount;
        
        public string State;
        
        public string Publisher;
        
        public System.DateTime Year;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -