//------------------------------------------------------------------------------
// <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.CreditoEmpresarialService {
    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="CreditoEmpresarial", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    public partial class CreditoEmpresarial : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<decimal> decPorGarantiaFonField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iInstitutoFondeaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iOpcionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int iOperacionIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintClasificaLegIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintClasificacionContaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintDestinoCredIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintTasaRefIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintTipoCreditoIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintTipoCreditoIDPromoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintExpedienCompIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintInfoRecuperaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintMetodologiaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintOperFormaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintPeriodicidadCapField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintPeriodicidadIntField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintPreferenciaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintSectorLabIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintTipoAltaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintTipoBajaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintTipoDispCredIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> tintTipoLinRevIDField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<decimal> decPorGarantiaFon {
            get {
                return this.decPorGarantiaFonField;
            }
            set {
                if ((this.decPorGarantiaFonField.Equals(value) != true)) {
                    this.decPorGarantiaFonField = value;
                    this.RaisePropertyChanged("decPorGarantiaFon");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int iInstitutoFondea {
            get {
                return this.iInstitutoFondeaField;
            }
            set {
                if ((this.iInstitutoFondeaField.Equals(value) != true)) {
                    this.iInstitutoFondeaField = value;
                    this.RaisePropertyChanged("iInstitutoFondea");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int iOpcion {
            get {
                return this.iOpcionField;
            }
            set {
                if ((this.iOpcionField.Equals(value) != true)) {
                    this.iOpcionField = value;
                    this.RaisePropertyChanged("iOpcion");
                }
            }
        }
        
        [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 System.Nullable<short> sintClasificaLegID {
            get {
                return this.sintClasificaLegIDField;
            }
            set {
                if ((this.sintClasificaLegIDField.Equals(value) != true)) {
                    this.sintClasificaLegIDField = value;
                    this.RaisePropertyChanged("sintClasificaLegID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintClasificacionContaID {
            get {
                return this.sintClasificacionContaIDField;
            }
            set {
                if ((this.sintClasificacionContaIDField.Equals(value) != true)) {
                    this.sintClasificacionContaIDField = value;
                    this.RaisePropertyChanged("sintClasificacionContaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintDestinoCredID {
            get {
                return this.sintDestinoCredIDField;
            }
            set {
                if ((this.sintDestinoCredIDField.Equals(value) != true)) {
                    this.sintDestinoCredIDField = value;
                    this.RaisePropertyChanged("sintDestinoCredID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintTasaRefID {
            get {
                return this.sintTasaRefIDField;
            }
            set {
                if ((this.sintTasaRefIDField.Equals(value) != true)) {
                    this.sintTasaRefIDField = value;
                    this.RaisePropertyChanged("sintTasaRefID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintTipoCreditoID {
            get {
                return this.sintTipoCreditoIDField;
            }
            set {
                if ((this.sintTipoCreditoIDField.Equals(value) != true)) {
                    this.sintTipoCreditoIDField = value;
                    this.RaisePropertyChanged("sintTipoCreditoID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintTipoCreditoIDPromo {
            get {
                return this.sintTipoCreditoIDPromoField;
            }
            set {
                if ((this.sintTipoCreditoIDPromoField.Equals(value) != true)) {
                    this.sintTipoCreditoIDPromoField = value;
                    this.RaisePropertyChanged("sintTipoCreditoIDPromo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintExpedienCompID {
            get {
                return this.tintExpedienCompIDField;
            }
            set {
                if ((this.tintExpedienCompIDField.Equals(value) != true)) {
                    this.tintExpedienCompIDField = value;
                    this.RaisePropertyChanged("tintExpedienCompID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintInfoRecuperaID {
            get {
                return this.tintInfoRecuperaIDField;
            }
            set {
                if ((this.tintInfoRecuperaIDField.Equals(value) != true)) {
                    this.tintInfoRecuperaIDField = value;
                    this.RaisePropertyChanged("tintInfoRecuperaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintMetodologiaID {
            get {
                return this.tintMetodologiaIDField;
            }
            set {
                if ((this.tintMetodologiaIDField.Equals(value) != true)) {
                    this.tintMetodologiaIDField = value;
                    this.RaisePropertyChanged("tintMetodologiaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintOperFormaID {
            get {
                return this.tintOperFormaIDField;
            }
            set {
                if ((this.tintOperFormaIDField.Equals(value) != true)) {
                    this.tintOperFormaIDField = value;
                    this.RaisePropertyChanged("tintOperFormaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintPeriodicidadCap {
            get {
                return this.tintPeriodicidadCapField;
            }
            set {
                if ((this.tintPeriodicidadCapField.Equals(value) != true)) {
                    this.tintPeriodicidadCapField = value;
                    this.RaisePropertyChanged("tintPeriodicidadCap");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintPeriodicidadInt {
            get {
                return this.tintPeriodicidadIntField;
            }
            set {
                if ((this.tintPeriodicidadIntField.Equals(value) != true)) {
                    this.tintPeriodicidadIntField = value;
                    this.RaisePropertyChanged("tintPeriodicidadInt");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintPreferenciaID {
            get {
                return this.tintPreferenciaIDField;
            }
            set {
                if ((this.tintPreferenciaIDField.Equals(value) != true)) {
                    this.tintPreferenciaIDField = value;
                    this.RaisePropertyChanged("tintPreferenciaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintSectorLabID {
            get {
                return this.tintSectorLabIDField;
            }
            set {
                if ((this.tintSectorLabIDField.Equals(value) != true)) {
                    this.tintSectorLabIDField = value;
                    this.RaisePropertyChanged("tintSectorLabID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintTipoAltaID {
            get {
                return this.tintTipoAltaIDField;
            }
            set {
                if ((this.tintTipoAltaIDField.Equals(value) != true)) {
                    this.tintTipoAltaIDField = value;
                    this.RaisePropertyChanged("tintTipoAltaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintTipoBajaID {
            get {
                return this.tintTipoBajaIDField;
            }
            set {
                if ((this.tintTipoBajaIDField.Equals(value) != true)) {
                    this.tintTipoBajaIDField = value;
                    this.RaisePropertyChanged("tintTipoBajaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintTipoDispCredID {
            get {
                return this.tintTipoDispCredIDField;
            }
            set {
                if ((this.tintTipoDispCredIDField.Equals(value) != true)) {
                    this.tintTipoDispCredIDField = value;
                    this.RaisePropertyChanged("tintTipoDispCredID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> tintTipoLinRevID {
            get {
                return this.tintTipoLinRevIDField;
            }
            set {
                if ((this.tintTipoLinRevIDField.Equals(value) != true)) {
                    this.tintTipoLinRevIDField = value;
                    this.RaisePropertyChanged("tintTipoLinRevID");
                }
            }
        }
        
        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.CreditoEmpresarialService.CreditoEmpresarial[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(bajaWare.CreditoEmpresarialService.CreditoEmpresarial))]
    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="CreditoEmpresarialService.ICreditoEmpresarialService")]
    public interface ICreditoEmpresarialService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICreditoEmpresarialService/ListarCreditoEmpresarial", ReplyAction="http://tempuri.org/ICreditoEmpresarialService/ListarCreditoEmpresarialResponse")]
        bajaWare.CreditoEmpresarialService.CreditoEmpresarial[] ListarCreditoEmpresarial(int OperacionID);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICreditoEmpresarialService/ActualizaCreditoEmpresarial", ReplyAction="http://tempuri.org/ICreditoEmpresarialService/ActualizaCreditoEmpresarialResponse" +
            "")]
        bajaWare.CreditoEmpresarialService.ServiceResult ActualizaCreditoEmpresarial(bajaWare.CreditoEmpresarialService.CreditoEmpresarial creditoEmpresarial);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ICreditoEmpresarialServiceChannel : bajaWare.CreditoEmpresarialService.ICreditoEmpresarialService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class CreditoEmpresarialServiceClient : System.ServiceModel.ClientBase<bajaWare.CreditoEmpresarialService.ICreditoEmpresarialService>, bajaWare.CreditoEmpresarialService.ICreditoEmpresarialService {
        
        public CreditoEmpresarialServiceClient() {
        }
        
        public CreditoEmpresarialServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public CreditoEmpresarialServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public CreditoEmpresarialServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public CreditoEmpresarialServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bajaWare.CreditoEmpresarialService.CreditoEmpresarial[] ListarCreditoEmpresarial(int OperacionID) {
            return base.Channel.ListarCreditoEmpresarial(OperacionID);
        }
        
        public bajaWare.CreditoEmpresarialService.ServiceResult ActualizaCreditoEmpresarial(bajaWare.CreditoEmpresarialService.CreditoEmpresarial creditoEmpresarial) {
            return base.Channel.ActualizaCreditoEmpresarial(creditoEmpresarial);
        }
    }
}
