//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.18034
//
//     Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
//     se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------

namespace bajaWare.InterfaceServicesAvales {
    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="Aval", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    public partial class Aval : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int ConsecField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RFCField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iCveRegimenFiscalField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iOperacionIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iParticipeIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string sApellidoMaternoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string sApellidoPaternoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string sPrimerNombreField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string sSegundoNombreField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short sintActividadINEGIIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short tintRiesgoExperPagoIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short tintRiesgoFinancieroIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short tintRiesgoIndustriaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short tintTipoAvalIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int uAltaField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Consec {
            get {
                return this.ConsecField;
            }
            set {
                if ((this.ConsecField.Equals(value) != true)) {
                    this.ConsecField = value;
                    this.RaisePropertyChanged("Consec");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RFC {
            get {
                return this.RFCField;
            }
            set {
                if ((object.ReferenceEquals(this.RFCField, value) != true)) {
                    this.RFCField = value;
                    this.RaisePropertyChanged("RFC");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int iCveRegimenFiscal {
            get {
                return this.iCveRegimenFiscalField;
            }
            set {
                if ((this.iCveRegimenFiscalField.Equals(value) != true)) {
                    this.iCveRegimenFiscalField = value;
                    this.RaisePropertyChanged("iCveRegimenFiscal");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int iOperacionId {
            get {
                return this.iOperacionIdField;
            }
            set {
                if ((this.iOperacionIdField.Equals(value) != true)) {
                    this.iOperacionIdField = value;
                    this.RaisePropertyChanged("iOperacionId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int iParticipeId {
            get {
                return this.iParticipeIdField;
            }
            set {
                if ((this.iParticipeIdField.Equals(value) != true)) {
                    this.iParticipeIdField = value;
                    this.RaisePropertyChanged("iParticipeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sApellidoMaterno {
            get {
                return this.sApellidoMaternoField;
            }
            set {
                if ((object.ReferenceEquals(this.sApellidoMaternoField, value) != true)) {
                    this.sApellidoMaternoField = value;
                    this.RaisePropertyChanged("sApellidoMaterno");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sApellidoPaterno {
            get {
                return this.sApellidoPaternoField;
            }
            set {
                if ((object.ReferenceEquals(this.sApellidoPaternoField, value) != true)) {
                    this.sApellidoPaternoField = value;
                    this.RaisePropertyChanged("sApellidoPaterno");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sPrimerNombre {
            get {
                return this.sPrimerNombreField;
            }
            set {
                if ((object.ReferenceEquals(this.sPrimerNombreField, value) != true)) {
                    this.sPrimerNombreField = value;
                    this.RaisePropertyChanged("sPrimerNombre");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sSegundoNombre {
            get {
                return this.sSegundoNombreField;
            }
            set {
                if ((object.ReferenceEquals(this.sSegundoNombreField, value) != true)) {
                    this.sSegundoNombreField = value;
                    this.RaisePropertyChanged("sSegundoNombre");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short sintActividadINEGIID {
            get {
                return this.sintActividadINEGIIDField;
            }
            set {
                if ((this.sintActividadINEGIIDField.Equals(value) != true)) {
                    this.sintActividadINEGIIDField = value;
                    this.RaisePropertyChanged("sintActividadINEGIID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short tintRiesgoExperPagoID {
            get {
                return this.tintRiesgoExperPagoIDField;
            }
            set {
                if ((this.tintRiesgoExperPagoIDField.Equals(value) != true)) {
                    this.tintRiesgoExperPagoIDField = value;
                    this.RaisePropertyChanged("tintRiesgoExperPagoID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short tintRiesgoFinancieroID {
            get {
                return this.tintRiesgoFinancieroIDField;
            }
            set {
                if ((this.tintRiesgoFinancieroIDField.Equals(value) != true)) {
                    this.tintRiesgoFinancieroIDField = value;
                    this.RaisePropertyChanged("tintRiesgoFinancieroID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short tintRiesgoIndustriaID {
            get {
                return this.tintRiesgoIndustriaIDField;
            }
            set {
                if ((this.tintRiesgoIndustriaIDField.Equals(value) != true)) {
                    this.tintRiesgoIndustriaIDField = value;
                    this.RaisePropertyChanged("tintRiesgoIndustriaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short tintTipoAvalID {
            get {
                return this.tintTipoAvalIDField;
            }
            set {
                if ((this.tintTipoAvalIDField.Equals(value) != true)) {
                    this.tintTipoAvalIDField = value;
                    this.RaisePropertyChanged("tintTipoAvalID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int uAlta {
            get {
                return this.uAltaField;
            }
            set {
                if ((this.uAltaField.Equals(value) != true)) {
                    this.uAltaField = value;
                    this.RaisePropertyChanged("uAlta");
                }
            }
        }
        
        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="ServiceResult", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(bajaWare.InterfaceServicesAvales.Aval))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(bajaWare.InterfaceServicesAvales.Aval[]))]
    public partial class ServiceResult : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ErrorMessageField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private object ResultValueField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ServiceOkField;
        
        [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 ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object ResultValue {
            get {
                return this.ResultValueField;
            }
            set {
                if ((object.ReferenceEquals(this.ResultValueField, value) != true)) {
                    this.ResultValueField = value;
                    this.RaisePropertyChanged("ResultValue");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ServiceOk {
            get {
                return this.ServiceOkField;
            }
            set {
                if ((this.ServiceOkField.Equals(value) != true)) {
                    this.ServiceOkField = value;
                    this.RaisePropertyChanged("ServiceOk");
                }
            }
        }
        
        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="InterfaceServicesAvales.IinterfacesServiceAval")]
    public interface IinterfacesServiceAval {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceAval/InsertaActualizaAval", ReplyAction="http://tempuri.org/IinterfacesServiceAval/InsertaActualizaAvalResponse")]
        bajaWare.InterfaceServicesAvales.ServiceResult InsertaActualizaAval(bajaWare.InterfaceServicesAvales.Aval aval);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceAval/ObtieneAvales", ReplyAction="http://tempuri.org/IinterfacesServiceAval/ObtieneAvalesResponse")]
        bajaWare.InterfaceServicesAvales.Aval[] ObtieneAvales(int Consec);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IinterfacesServiceAvalChannel : bajaWare.InterfaceServicesAvales.IinterfacesServiceAval, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class IinterfacesServiceAvalClient : System.ServiceModel.ClientBase<bajaWare.InterfaceServicesAvales.IinterfacesServiceAval>, bajaWare.InterfaceServicesAvales.IinterfacesServiceAval {
        
        public IinterfacesServiceAvalClient() {
        }
        
        public IinterfacesServiceAvalClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public IinterfacesServiceAvalClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceAvalClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceAvalClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bajaWare.InterfaceServicesAvales.ServiceResult InsertaActualizaAval(bajaWare.InterfaceServicesAvales.Aval aval) {
            return base.Channel.InsertaActualizaAval(aval);
        }
        
        public bajaWare.InterfaceServicesAvales.Aval[] ObtieneAvales(int Consec) {
            return base.Channel.ObtieneAvales(Consec);
        }
    }
}
