reference.cs
来自「图书馆里系统 很好的计算机毕业设计的参考 资料 里面有PPT和 文档资料 大家来」· CS 代码 · 共 149 行
CS
149 行
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.573 版自动生成。
//
namespace Librarian.ws {
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap", Namespace="http://tempuri.org/")]
public class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public Service1() {
this.Url = "http://localhost/WS1/Service1.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Add", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool Add(string ISBN, string Title, string au, string pub, string b) {
object[] results = this.Invoke("Add", new object[] {
ISBN,
Title,
au,
pub,
b});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAdd(string ISBN, string Title, string au, string pub, string b, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Add", new object[] {
ISBN,
Title,
au,
pub,
b}, callback, asyncState);
}
/// <remarks/>
public bool EndAdd(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Update", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool Update(string ISBN, string Title, string au, string pub, string b) {
object[] results = this.Invoke("Update", new object[] {
ISBN,
Title,
au,
pub,
b});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUpdate(string ISBN, string Title, string au, string pub, string b, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Update", new object[] {
ISBN,
Title,
au,
pub,
b}, callback, asyncState);
}
/// <remarks/>
public bool EndUpdate(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Delete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool Delete(string ISBN) {
object[] results = this.Invoke("Delete", new object[] {
ISBN});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDelete(string ISBN, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Delete", new object[] {
ISBN}, callback, asyncState);
}
/// <remarks/>
public bool EndDelete(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/See", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet See() {
object[] results = this.Invoke("See", new object[0]);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSee(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("See", new object[0], callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndSee(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/See1", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet See1(string ISBN) {
object[] results = this.Invoke("See1", new object[] {
ISBN});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSee1(string ISBN, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("See1", new object[] {
ISBN}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndSee1(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?