//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace NFine.Web.ServiceReference1 {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="SO_SOMain", Namespace="http://schemas.datacontract.org/2004/07/ICSSoft.Entity.SO")]
    [System.SerializableAttribute()]
    public partial class SO_SOMain : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string UserCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private NFine.Web.ServiceReference1.SO_SODetails[] bodyListField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string cCusCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string cSOCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool isDelField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string UserCode {
            get {
                return this.UserCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.UserCodeField, value) != true)) {
                    this.UserCodeField = value;
                    this.RaisePropertyChanged("UserCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public NFine.Web.ServiceReference1.SO_SODetails[] bodyList {
            get {
                return this.bodyListField;
            }
            set {
                if ((object.ReferenceEquals(this.bodyListField, value) != true)) {
                    this.bodyListField = value;
                    this.RaisePropertyChanged("bodyList");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string cCusCode {
            get {
                return this.cCusCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.cCusCodeField, value) != true)) {
                    this.cCusCodeField = value;
                    this.RaisePropertyChanged("cCusCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string cSOCode {
            get {
                return this.cSOCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.cSOCodeField, value) != true)) {
                    this.cSOCodeField = value;
                    this.RaisePropertyChanged("cSOCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool isDel {
            get {
                return this.isDelField;
            }
            set {
                if ((this.isDelField.Equals(value) != true)) {
                    this.isDelField = value;
                    this.RaisePropertyChanged("isDel");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="SO_SODetails", Namespace="http://schemas.datacontract.org/2004/07/ICSSoft.Entity.SO")]
    [System.SerializableAttribute()]
    public partial class SO_SODetails : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string cInvCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal iPriceField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string cInvCode {
            get {
                return this.cInvCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.cInvCodeField, value) != true)) {
                    this.cInvCodeField = value;
                    this.RaisePropertyChanged("cInvCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal iPrice {
            get {
                return this.iPriceField;
            }
            set {
                if ((this.iPriceField.Equals(value) != true)) {
                    this.iPriceField = value;
                    this.RaisePropertyChanged("iPrice");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="Result", Namespace="http://schemas.datacontract.org/2004/07/ICSSoft.Entity")]
    [System.SerializableAttribute()]
    public partial class Result : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsSuccessField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string MESSAGEField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsSuccess {
            get {
                return this.IsSuccessField;
            }
            set {
                if ((this.IsSuccessField.Equals(value) != true)) {
                    this.IsSuccessField = value;
                    this.RaisePropertyChanged("IsSuccess");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string MESSAGE {
            get {
                return this.MESSAGEField;
            }
            set {
                if ((object.ReferenceEquals(this.MESSAGEField, value) != true)) {
                    this.MESSAGEField = value;
                    this.RaisePropertyChanged("MESSAGE");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReference1.IU8ERP5")]
    public interface IU8ERP5 {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IU8ERP5/InsertRd32", ReplyAction="http://tempuri.org/IU8ERP5/InsertRd32Response")]
        NFine.Web.ServiceReference1.Result InsertRd32(NFine.Web.ServiceReference1.SO_SOMain[] Bills);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IU8ERP5/InsertRd32", ReplyAction="http://tempuri.org/IU8ERP5/InsertRd32Response")]
        System.Threading.Tasks.Task<NFine.Web.ServiceReference1.Result> InsertRd32Async(NFine.Web.ServiceReference1.SO_SOMain[] Bills);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IU8ERP5Channel : NFine.Web.ServiceReference1.IU8ERP5, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class U8ERP5Client : System.ServiceModel.ClientBase<NFine.Web.ServiceReference1.IU8ERP5>, NFine.Web.ServiceReference1.IU8ERP5 {
        
        public U8ERP5Client() {
        }
        
        public U8ERP5Client(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public U8ERP5Client(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public U8ERP5Client(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public U8ERP5Client(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public NFine.Web.ServiceReference1.Result InsertRd32(NFine.Web.ServiceReference1.SO_SOMain[] Bills) {
            return base.Channel.InsertRd32(Bills);
        }
        
        public System.Threading.Tasks.Task<NFine.Web.ServiceReference1.Result> InsertRd32Async(NFine.Web.ServiceReference1.SO_SOMain[] Bills) {
            return base.Channel.InsertRd32Async(Bills);
        }
    }
}