📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2300
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.2300 版自动生成。
//
namespace BookStore.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://examples.com/webservices/")]
public class BusinessRulesWebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public BusinessRulesWebService() {
this.Url = "http://localhost/BusinessRulesWebService/BusinessRulesWebService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/GetUserDetails", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.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://examples.com/webservices/GetUserOrders", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetUserOrders(string UserID) {
object[] results = this.Invoke("GetUserOrders", new object[] {
UserID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetUserOrders(string UserID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetUserOrders", new object[] {
UserID}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetUserOrders(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/AddUser", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int AddUser(string UserName, string password, string fullName, string email, string IDCard, string Telephone, string Address, string Zipcode) {
object[] results = this.Invoke("AddUser", new object[] {
UserName,
password,
fullName,
email,
IDCard,
Telephone,
Address,
Zipcode});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddUser(string UserName, string password, string fullName, string email, string IDCard, string Telephone, string Address, string Zipcode, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddUser", new object[] {
UserName,
password,
fullName,
email,
IDCard,
Telephone,
Address,
Zipcode}, callback, asyncState);
}
/// <remarks/>
public int EndAddUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/ModifyUser", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int ModifyUser(string UserName, string password, string fullName, string email, string IDCard, string Telephone, string Address, string Zipcode) {
object[] results = this.Invoke("ModifyUser", new object[] {
UserName,
password,
fullName,
email,
IDCard,
Telephone,
Address,
Zipcode});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginModifyUser(string UserName, string password, string fullName, string email, string IDCard, string Telephone, string Address, string Zipcode, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ModifyUser", new object[] {
UserName,
password,
fullName,
email,
IDCard,
Telephone,
Address,
Zipcode}, callback, asyncState);
}
/// <remarks/>
public int EndModifyUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/UserLogin", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UserLogin(string username, string password) {
object[] results = this.Invoke("UserLogin", new object[] {
username,
password});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUserLogin(string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UserLogin", new object[] {
username,
password}, 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://examples.com/webservices/GetBookCategories", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetBookCategories() {
object[] results = this.Invoke("GetBookCategories", new object[0]);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetBookCategories(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetBookCategories", new object[0], callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetBookCategories(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/GetBookByCategory", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetBookByCategory(int categoryID) {
object[] results = this.Invoke("GetBookByCategory", new object[] {
categoryID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetBookByCategory(int categoryID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetBookByCategory", new object[] {
categoryID}, 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://examples.com/webservices/GetBookDetails", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetBookDetails(int BookID) {
object[] results = this.Invoke("GetBookDetails", new object[] {
BookID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetBookDetails(int BookID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetBookDetails", new object[] {
BookID}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetBookDetails(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/GetOrderDetails", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetOrderDetails(int orderID, string userID) {
object[] results = this.Invoke("GetOrderDetails", new object[] {
orderID,
userID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetOrderDetails(int orderID, string userID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrderDetails", new object[] {
orderID,
userID}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetOrderDetails(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://examples.com/webservices/GetOrderDate", RequestNamespace="http://examples.com/webservices/", ResponseNamespace="http://examples.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetOrderDate(int orderID) {
object[] results = this.Invoke("GetOrderDate", new object[] {
orderID});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetOrderDate(int orderID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetOrderDate", new object[] {
orderID}, callback, asyncState);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -