📄 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.Work {
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="WorkServiceSoap", Namespace="http://tempuri.org/")]
public class WorkService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public WorkService() {
this.Url = "http://localhost/WorkGroupService/task/WorkService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddWork", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool AddWork(work work) {
object[] results = this.Invoke("AddWork", new object[] {
work});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddWork(work work, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddWork", new object[] {
work}, callback, asyncState);
}
/// <remarks/>
public bool EndAddWork(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteWork", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool DeleteWork(work work) {
object[] results = this.Invoke("DeleteWork", new object[] {
work});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteWork(work work, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteWork", new object[] {
work}, callback, asyncState);
}
/// <remarks/>
public bool EndDeleteWork(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ModWork", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool ModWork(work work) {
object[] results = this.Invoke("ModWork", new object[] {
work});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginModWork(work work, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ModWork", new object[] {
work}, callback, asyncState);
}
/// <remarks/>
public bool EndModWork(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetWork", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public work GetWork(string[] pks) {
object[] results = this.Invoke("GetWork", new object[] {
pks});
return ((work)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetWork(string[] pks, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetWork", new object[] {
pks}, callback, asyncState);
}
/// <remarks/>
public work EndGetWork(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((work)(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.Web.Services.WebMethodAttribute(MessageName="selectSql1")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/selectSqlbyOrder", RequestElementName="selectSqlbyOrder", RequestNamespace="http://tempuri.org/", ResponseElementName="selectSqlbyOrderResponse", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("selectSqlbyOrderResult")]
public string selectSql(string sqlwhere, string[] OrderType) {
object[] results = this.Invoke("selectSql1", new object[] {
sqlwhere,
OrderType});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginselectSql1(string sqlwhere, string[] OrderType, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("selectSql1", new object[] {
sqlwhere,
OrderType}, callback, asyncState);
}
/// <remarks/>
public string EndselectSql1(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
public class work {
/// <remarks/>
public string tNO;
/// <remarks/>
public string tExecutor;
/// <remarks/>
public string exContent;
/// <remarks/>
public System.DateTime exDate;
/// <remarks/>
public string prScan;
/// <remarks/>
public string tPromulgator;
/// <remarks/>
public string prContent;
/// <remarks/>
public System.DateTime prDate;
/// <remarks/>
public string exScan;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -