📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <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 WorkGroupManager.User {
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="UserServiceSoap", Namespace="http://tempuri.org/")]
public class UserService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public UserService() {
this.Url = "http://localhost/WorkGroupService/user/UserService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool AddUser(user user) {
object[] results = this.Invoke("AddUser", new object[] {
user});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddUser(user user, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddUser", new object[] {
user}, callback, asyncState);
}
/// <remarks/>
public bool EndAddUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool DeleteUser(user user) {
object[] results = this.Invoke("DeleteUser", new object[] {
user});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteUser(user user, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteUser", new object[] {
user}, callback, asyncState);
}
/// <remarks/>
public bool EndDeleteUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ModUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool ModUser(user user) {
object[] results = this.Invoke("ModUser", new object[] {
user});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginModUser(user user, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ModUser", new object[] {
user}, callback, asyncState);
}
/// <remarks/>
public bool EndModUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public user GetUser(string[] pks) {
object[] results = this.Invoke("GetUser", new object[] {
pks});
return ((user)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetUser(string[] pks, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetUser", new object[] {
pks}, callback, asyncState);
}
/// <remarks/>
public user EndGetUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((user)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/selectSql", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string selectSql(string sqlwhere) {
object[] results = this.Invoke("selectSql", new object[] {
sqlwhere});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginselectSql(string sqlwhere, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("selectSql", new object[] {
sqlwhere}, callback, asyncState);
}
/// <remarks/>
public string EndselectSql(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
public class user {
/// <remarks/>
public string uName;
/// <remarks/>
public string uPassword;
/// <remarks/>
public string uStation;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -