📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.2032 版自动生成。
//
namespace BookStore2.BusinessRules {
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="BusinessRulesWebServiceSoap", Namespace="http://microsoft.com/webservices/")]
public class BusinessRulesWebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public BusinessRulesWebService() {
this.Url = "http://localhost/BusinessRulesWebService2/BusinessRulesWebService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/GetUserDetails", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetUserDetails(string userID) {
object[] results = this.Invoke("GetUserDetails", new object[] {
userID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetUserDetails(string userID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetUserDetails", new object[] {
userID}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetUserDetails(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/UserLogin", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UserLogin(string Name, string Pwd) {
object[] results = this.Invoke("UserLogin", new object[] {
Name,
Pwd});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUserLogin(string Name, string Pwd, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UserLogin", new object[] {
Name,
Pwd}, callback, asyncState);
}
/// <remarks/>
public int EndUserLogin(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/GetBookByCategory", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetBookByCategory() {
object[] results = this.Invoke("GetBookByCategory", new object[0]);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetBookByCategory(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetBookByCategory", new object[0], callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetBookByCategory(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/SearchBookByBookName", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet SearchBookByBookName(string BookName) {
object[] results = this.Invoke("SearchBookByBookName", new object[] {
BookName});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSearchBookByBookName(string BookName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SearchBookByBookName", new object[] {
BookName}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndSearchBookByBookName(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/SearchBookByAuthorName", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet SearchBookByAuthorName(string searchString) {
object[] results = this.Invoke("SearchBookByAuthorName", new object[] {
searchString});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSearchBookByAuthorName(string searchString, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SearchBookByAuthorName", new object[] {
searchString}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndSearchBookByAuthorName(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/Adduser", RequestNamespace="http://microsoft.com/webservices/", ResponseNamespace="http://microsoft.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int Adduser(string userName, string Pwd, string Name, string Email, string IDNO, string Phone, string Address, string Zipcode) {
object[] results = this.Invoke("Adduser", new object[] {
userName,
Pwd,
Name,
Email,
IDNO,
Phone,
Address,
Zipcode});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAdduser(string userName, string Pwd, string Name, string Email, string IDNO, string Phone, string Address, string Zipcode, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Adduser", new object[] {
userName,
Pwd,
Name,
Email,
IDNO,
Phone,
Address,
Zipcode}, callback, asyncState);
}
/// <remarks/>
public int EndAdduser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -