620 lines
18 KiB
C#
620 lines
18 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
//
|
|
// 对此文件的更改可能导致不正确的行为,并在以下条件下丢失:
|
|
// 代码重新生成。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace ServiceReference1
|
|
{
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
|
[System.Runtime.Serialization.DataContractAttribute(Name="WcfErp_bussinessDoc", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.wms.Data.Model")]
|
|
public partial class WcfErp_bussinessDoc : object
|
|
{
|
|
|
|
private string addressField;
|
|
|
|
private string businessCodeField;
|
|
|
|
private string businessIdField;
|
|
|
|
private string businessNameField;
|
|
|
|
private string contactField;
|
|
|
|
private string createtimeField;
|
|
|
|
private string dftAddressField;
|
|
|
|
private bool drField;
|
|
|
|
private string eMailField;
|
|
|
|
private string entIdField;
|
|
|
|
private string ext1Field;
|
|
|
|
private string ext2Field;
|
|
|
|
private string ext3Field;
|
|
|
|
private string ext4Field;
|
|
|
|
private string faxField;
|
|
|
|
private int idField;
|
|
|
|
private string invoiceAddressField;
|
|
|
|
private string invoiceHeadField;
|
|
|
|
private string invoiceNoField;
|
|
|
|
private string lastmodifiedField;
|
|
|
|
private string mangerField;
|
|
|
|
private string memField;
|
|
|
|
private int operaterField;
|
|
|
|
private string phoneField;
|
|
|
|
private string pinyinField;
|
|
|
|
private int statusField;
|
|
|
|
private int typeField;
|
|
|
|
private string zipCodeField;
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string address
|
|
{
|
|
get
|
|
{
|
|
return this.addressField;
|
|
}
|
|
set
|
|
{
|
|
this.addressField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string businessCode
|
|
{
|
|
get
|
|
{
|
|
return this.businessCodeField;
|
|
}
|
|
set
|
|
{
|
|
this.businessCodeField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string businessId
|
|
{
|
|
get
|
|
{
|
|
return this.businessIdField;
|
|
}
|
|
set
|
|
{
|
|
this.businessIdField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string businessName
|
|
{
|
|
get
|
|
{
|
|
return this.businessNameField;
|
|
}
|
|
set
|
|
{
|
|
this.businessNameField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string contact
|
|
{
|
|
get
|
|
{
|
|
return this.contactField;
|
|
}
|
|
set
|
|
{
|
|
this.contactField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string createtime
|
|
{
|
|
get
|
|
{
|
|
return this.createtimeField;
|
|
}
|
|
set
|
|
{
|
|
this.createtimeField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string dftAddress
|
|
{
|
|
get
|
|
{
|
|
return this.dftAddressField;
|
|
}
|
|
set
|
|
{
|
|
this.dftAddressField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public bool dr
|
|
{
|
|
get
|
|
{
|
|
return this.drField;
|
|
}
|
|
set
|
|
{
|
|
this.drField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string eMail
|
|
{
|
|
get
|
|
{
|
|
return this.eMailField;
|
|
}
|
|
set
|
|
{
|
|
this.eMailField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string entId
|
|
{
|
|
get
|
|
{
|
|
return this.entIdField;
|
|
}
|
|
set
|
|
{
|
|
this.entIdField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string ext1
|
|
{
|
|
get
|
|
{
|
|
return this.ext1Field;
|
|
}
|
|
set
|
|
{
|
|
this.ext1Field = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string ext2
|
|
{
|
|
get
|
|
{
|
|
return this.ext2Field;
|
|
}
|
|
set
|
|
{
|
|
this.ext2Field = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string ext3
|
|
{
|
|
get
|
|
{
|
|
return this.ext3Field;
|
|
}
|
|
set
|
|
{
|
|
this.ext3Field = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string ext4
|
|
{
|
|
get
|
|
{
|
|
return this.ext4Field;
|
|
}
|
|
set
|
|
{
|
|
this.ext4Field = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string fax
|
|
{
|
|
get
|
|
{
|
|
return this.faxField;
|
|
}
|
|
set
|
|
{
|
|
this.faxField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string invoiceAddress
|
|
{
|
|
get
|
|
{
|
|
return this.invoiceAddressField;
|
|
}
|
|
set
|
|
{
|
|
this.invoiceAddressField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string invoiceHead
|
|
{
|
|
get
|
|
{
|
|
return this.invoiceHeadField;
|
|
}
|
|
set
|
|
{
|
|
this.invoiceHeadField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string invoiceNo
|
|
{
|
|
get
|
|
{
|
|
return this.invoiceNoField;
|
|
}
|
|
set
|
|
{
|
|
this.invoiceNoField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string lastmodified
|
|
{
|
|
get
|
|
{
|
|
return this.lastmodifiedField;
|
|
}
|
|
set
|
|
{
|
|
this.lastmodifiedField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string manger
|
|
{
|
|
get
|
|
{
|
|
return this.mangerField;
|
|
}
|
|
set
|
|
{
|
|
this.mangerField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string mem
|
|
{
|
|
get
|
|
{
|
|
return this.memField;
|
|
}
|
|
set
|
|
{
|
|
this.memField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int operater
|
|
{
|
|
get
|
|
{
|
|
return this.operaterField;
|
|
}
|
|
set
|
|
{
|
|
this.operaterField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string phone
|
|
{
|
|
get
|
|
{
|
|
return this.phoneField;
|
|
}
|
|
set
|
|
{
|
|
this.phoneField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string pinyin
|
|
{
|
|
get
|
|
{
|
|
return this.pinyinField;
|
|
}
|
|
set
|
|
{
|
|
this.pinyinField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int status
|
|
{
|
|
get
|
|
{
|
|
return this.statusField;
|
|
}
|
|
set
|
|
{
|
|
this.statusField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int type
|
|
{
|
|
get
|
|
{
|
|
return this.typeField;
|
|
}
|
|
set
|
|
{
|
|
this.typeField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string zipCode
|
|
{
|
|
get
|
|
{
|
|
return this.zipCodeField;
|
|
}
|
|
set
|
|
{
|
|
this.zipCodeField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
|
[System.Runtime.Serialization.DataContractAttribute(Name="WcfErp_bussinessDocList", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.wms.Data.Model")]
|
|
public partial class WcfErp_bussinessDocList : object
|
|
{
|
|
|
|
private ServiceReference1.WcfErp_bussinessDoc[] listField;
|
|
|
|
private int pageField;
|
|
|
|
private int pageCntField;
|
|
|
|
private int pageSizeField;
|
|
|
|
private int rowsField;
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public ServiceReference1.WcfErp_bussinessDoc[] list
|
|
{
|
|
get
|
|
{
|
|
return this.listField;
|
|
}
|
|
set
|
|
{
|
|
this.listField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int page
|
|
{
|
|
get
|
|
{
|
|
return this.pageField;
|
|
}
|
|
set
|
|
{
|
|
this.pageField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int pageCnt
|
|
{
|
|
get
|
|
{
|
|
return this.pageCntField;
|
|
}
|
|
set
|
|
{
|
|
this.pageCntField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int pageSize
|
|
{
|
|
get
|
|
{
|
|
return this.pageSizeField;
|
|
}
|
|
set
|
|
{
|
|
this.pageSizeField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int rows
|
|
{
|
|
get
|
|
{
|
|
return this.rowsField;
|
|
}
|
|
set
|
|
{
|
|
this.rowsField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.IErp_bussinessDoc")]
|
|
public interface IErp_bussinessDoc
|
|
{
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/getObj", ReplyAction="http://tempuri.org/IErp_bussinessDoc/getObjResponse")]
|
|
System.Threading.Tasks.Task<ServiceReference1.WcfErp_bussinessDoc> getObjAsync(int id);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/add", ReplyAction="http://tempuri.org/IErp_bussinessDoc/addResponse")]
|
|
System.Threading.Tasks.Task<int> addAsync(ServiceReference1.WcfErp_bussinessDoc obj);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/update", ReplyAction="http://tempuri.org/IErp_bussinessDoc/updateResponse")]
|
|
System.Threading.Tasks.Task<int> updateAsync(ServiceReference1.WcfErp_bussinessDoc obj);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/delete", ReplyAction="http://tempuri.org/IErp_bussinessDoc/deleteResponse")]
|
|
System.Threading.Tasks.Task<int> deleteAsync(ServiceReference1.WcfErp_bussinessDoc obj);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/query", ReplyAction="http://tempuri.org/IErp_bussinessDoc/queryResponse")]
|
|
System.Threading.Tasks.Task<ServiceReference1.WcfErp_bussinessDocList> queryAsync(string condition, int pageno);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/addLst", ReplyAction="http://tempuri.org/IErp_bussinessDoc/addLstResponse")]
|
|
System.Threading.Tasks.Task<int> addLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/updateLst", ReplyAction="http://tempuri.org/IErp_bussinessDoc/updateLstResponse")]
|
|
System.Threading.Tasks.Task<int> updateLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IErp_bussinessDoc/deleteLst", ReplyAction="http://tempuri.org/IErp_bussinessDoc/deleteLstResponse")]
|
|
System.Threading.Tasks.Task<int> deleteLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
|
public interface IErp_bussinessDocChannel : ServiceReference1.IErp_bussinessDoc, System.ServiceModel.IClientChannel
|
|
{
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
|
|
public partial class Erp_bussinessDocClient : System.ServiceModel.ClientBase<ServiceReference1.IErp_bussinessDoc>, ServiceReference1.IErp_bussinessDoc
|
|
{
|
|
|
|
public Erp_bussinessDocClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress)
|
|
{
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<ServiceReference1.WcfErp_bussinessDoc> getObjAsync(int id)
|
|
{
|
|
return base.Channel.getObjAsync(id);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> addAsync(ServiceReference1.WcfErp_bussinessDoc obj)
|
|
{
|
|
return base.Channel.addAsync(obj);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> updateAsync(ServiceReference1.WcfErp_bussinessDoc obj)
|
|
{
|
|
return base.Channel.updateAsync(obj);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> deleteAsync(ServiceReference1.WcfErp_bussinessDoc obj)
|
|
{
|
|
return base.Channel.deleteAsync(obj);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<ServiceReference1.WcfErp_bussinessDocList> queryAsync(string condition, int pageno)
|
|
{
|
|
return base.Channel.queryAsync(condition, pageno);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> addLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs)
|
|
{
|
|
return base.Channel.addLstAsync(objs);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> updateLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs)
|
|
{
|
|
return base.Channel.updateLstAsync(objs);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<int> deleteLstAsync(ServiceReference1.WcfErp_bussinessDoc[] objs)
|
|
{
|
|
return base.Channel.deleteLstAsync(objs);
|
|
}
|
|
|
|
public virtual System.Threading.Tasks.Task OpenAsync()
|
|
{
|
|
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
|
|
}
|
|
|
|
public virtual System.Threading.Tasks.Task CloseAsync()
|
|
{
|
|
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
|
}
|
|
}
|
|
}
|