//------------------------------------------------------------------------------
// <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.InterfaceServicesAccionistas {
    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="Accionista", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    public partial class Accionista : 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 int UAltaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iCveRegimenFiscalField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iOperacionIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iPersonaIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal pParticipacionField;
        
        [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;
        
        [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 int UAlta {
            get {
                return this.UAltaField;
            }
            set {
                if ((this.UAltaField.Equals(value) != true)) {
                    this.UAltaField = value;
                    this.RaisePropertyChanged("UAlta");
                }
            }
        }
        
        [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 iPersonaId {
            get {
                return this.iPersonaIdField;
            }
            set {
                if ((this.iPersonaIdField.Equals(value) != true)) {
                    this.iPersonaIdField = value;
                    this.RaisePropertyChanged("iPersonaId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal pParticipacion {
            get {
                return this.pParticipacionField;
            }
            set {
                if ((this.pParticipacionField.Equals(value) != true)) {
                    this.pParticipacionField = value;
                    this.RaisePropertyChanged("pParticipacion");
                }
            }
        }
        
        [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");
                }
            }
        }
        
        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.InterfaceServicesAccionistas.Accionista))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(bajaWare.InterfaceServicesAccionistas.Accionista[]))]
    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="InterfaceServicesAccionistas.IinterfacesServiceAccionista")]
    public interface IinterfacesServiceAccionista {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceAccionista/InsertaActualizaAccionista", ReplyAction="http://tempuri.org/IinterfacesServiceAccionista/InsertaActualizaAccionistaRespons" +
            "e")]
        bajaWare.InterfaceServicesAccionistas.ServiceResult InsertaActualizaAccionista(bajaWare.InterfaceServicesAccionistas.Accionista accionista);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceAccionista/ObtieneAccionistas", ReplyAction="http://tempuri.org/IinterfacesServiceAccionista/ObtieneAccionistasResponse")]
        bajaWare.InterfaceServicesAccionistas.Accionista[] ObtieneAccionistas(bajaWare.InterfaceServicesAccionistas.Accionista accionista);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IinterfacesServiceAccionistaChannel : bajaWare.InterfaceServicesAccionistas.IinterfacesServiceAccionista, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class IinterfacesServiceAccionistaClient : System.ServiceModel.ClientBase<bajaWare.InterfaceServicesAccionistas.IinterfacesServiceAccionista>, bajaWare.InterfaceServicesAccionistas.IinterfacesServiceAccionista {
        
        public IinterfacesServiceAccionistaClient() {
        }
        
        public IinterfacesServiceAccionistaClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public IinterfacesServiceAccionistaClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceAccionistaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceAccionistaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bajaWare.InterfaceServicesAccionistas.ServiceResult InsertaActualizaAccionista(bajaWare.InterfaceServicesAccionistas.Accionista accionista) {
            return base.Channel.InsertaActualizaAccionista(accionista);
        }
        
        public bajaWare.InterfaceServicesAccionistas.Accionista[] ObtieneAccionistas(bajaWare.InterfaceServicesAccionistas.Accionista accionista) {
            return base.Channel.ObtieneAccionistas(accionista);
        }
    }
}
