//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.296
//
//     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.InterfaceServiceGarantias {
    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="Garantia", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    public partial class Garantia : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.DateTime FAltaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.DateTime FInactivoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int UAltaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool bOrigenEjidalField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool bitBursatilidadField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool bitLiquidezField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.DateTime datFechaValuacionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<decimal> dcSuperficieField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> iEstatusJuridicoIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> iFiguraJuridicaIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> iGarantiaIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> iOperacionIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<decimal> nValorComercialField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string sNumeroEscrituraField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintGradoPrelacionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintIndividualField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintInstitucionIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintMonedaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> sintTipoGarantiaIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string strInstitucionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string strMonedaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string strTipoGrantiaField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string vchDescripcionField;
        
        [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.DateTime FAlta {
            get {
                return this.FAltaField;
            }
            set {
                if ((this.FAltaField.Equals(value) != true)) {
                    this.FAltaField = value;
                    this.RaisePropertyChanged("FAlta");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.DateTime FInactivo {
            get {
                return this.FInactivoField;
            }
            set {
                if ((this.FInactivoField.Equals(value) != true)) {
                    this.FInactivoField = value;
                    this.RaisePropertyChanged("FInactivo");
                }
            }
        }
        
        [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 bool bOrigenEjidal {
            get {
                return this.bOrigenEjidalField;
            }
            set {
                if ((this.bOrigenEjidalField.Equals(value) != true)) {
                    this.bOrigenEjidalField = value;
                    this.RaisePropertyChanged("bOrigenEjidal");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool bitBursatilidad {
            get {
                return this.bitBursatilidadField;
            }
            set {
                if ((this.bitBursatilidadField.Equals(value) != true)) {
                    this.bitBursatilidadField = value;
                    this.RaisePropertyChanged("bitBursatilidad");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool bitLiquidez {
            get {
                return this.bitLiquidezField;
            }
            set {
                if ((this.bitLiquidezField.Equals(value) != true)) {
                    this.bitLiquidezField = value;
                    this.RaisePropertyChanged("bitLiquidez");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.DateTime datFechaValuacion {
            get {
                return this.datFechaValuacionField;
            }
            set {
                if ((this.datFechaValuacionField.Equals(value) != true)) {
                    this.datFechaValuacionField = value;
                    this.RaisePropertyChanged("datFechaValuacion");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<decimal> dcSuperficie {
            get {
                return this.dcSuperficieField;
            }
            set {
                if ((this.dcSuperficieField.Equals(value) != true)) {
                    this.dcSuperficieField = value;
                    this.RaisePropertyChanged("dcSuperficie");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> iEstatusJuridicoId {
            get {
                return this.iEstatusJuridicoIdField;
            }
            set {
                if ((this.iEstatusJuridicoIdField.Equals(value) != true)) {
                    this.iEstatusJuridicoIdField = value;
                    this.RaisePropertyChanged("iEstatusJuridicoId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> iFiguraJuridicaId {
            get {
                return this.iFiguraJuridicaIdField;
            }
            set {
                if ((this.iFiguraJuridicaIdField.Equals(value) != true)) {
                    this.iFiguraJuridicaIdField = value;
                    this.RaisePropertyChanged("iFiguraJuridicaId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> iGarantiaId {
            get {
                return this.iGarantiaIdField;
            }
            set {
                if ((this.iGarantiaIdField.Equals(value) != true)) {
                    this.iGarantiaIdField = value;
                    this.RaisePropertyChanged("iGarantiaId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<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<decimal> nValorComercial {
            get {
                return this.nValorComercialField;
            }
            set {
                if ((this.nValorComercialField.Equals(value) != true)) {
                    this.nValorComercialField = value;
                    this.RaisePropertyChanged("nValorComercial");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string sNumeroEscritura {
            get {
                return this.sNumeroEscrituraField;
            }
            set {
                if ((object.ReferenceEquals(this.sNumeroEscrituraField, value) != true)) {
                    this.sNumeroEscrituraField = value;
                    this.RaisePropertyChanged("sNumeroEscritura");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintGradoPrelacion {
            get {
                return this.sintGradoPrelacionField;
            }
            set {
                if ((this.sintGradoPrelacionField.Equals(value) != true)) {
                    this.sintGradoPrelacionField = value;
                    this.RaisePropertyChanged("sintGradoPrelacion");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintIndividual {
            get {
                return this.sintIndividualField;
            }
            set {
                if ((this.sintIndividualField.Equals(value) != true)) {
                    this.sintIndividualField = value;
                    this.RaisePropertyChanged("sintIndividual");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintInstitucionID {
            get {
                return this.sintInstitucionIDField;
            }
            set {
                if ((this.sintInstitucionIDField.Equals(value) != true)) {
                    this.sintInstitucionIDField = value;
                    this.RaisePropertyChanged("sintInstitucionID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintMonedaID {
            get {
                return this.sintMonedaIDField;
            }
            set {
                if ((this.sintMonedaIDField.Equals(value) != true)) {
                    this.sintMonedaIDField = value;
                    this.RaisePropertyChanged("sintMonedaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> sintTipoGarantiaID {
            get {
                return this.sintTipoGarantiaIDField;
            }
            set {
                if ((this.sintTipoGarantiaIDField.Equals(value) != true)) {
                    this.sintTipoGarantiaIDField = value;
                    this.RaisePropertyChanged("sintTipoGarantiaID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string strInstitucion {
            get {
                return this.strInstitucionField;
            }
            set {
                if ((object.ReferenceEquals(this.strInstitucionField, value) != true)) {
                    this.strInstitucionField = value;
                    this.RaisePropertyChanged("strInstitucion");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string strMoneda {
            get {
                return this.strMonedaField;
            }
            set {
                if ((object.ReferenceEquals(this.strMonedaField, value) != true)) {
                    this.strMonedaField = value;
                    this.RaisePropertyChanged("strMoneda");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string strTipoGrantia {
            get {
                return this.strTipoGrantiaField;
            }
            set {
                if ((object.ReferenceEquals(this.strTipoGrantiaField, value) != true)) {
                    this.strTipoGrantiaField = value;
                    this.RaisePropertyChanged("strTipoGrantia");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string vchDescripcion {
            get {
                return this.vchDescripcionField;
            }
            set {
                if ((object.ReferenceEquals(this.vchDescripcionField, value) != true)) {
                    this.vchDescripcionField = value;
                    this.RaisePropertyChanged("vchDescripcion");
                }
            }
        }
        
        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.InterfaceServiceGarantias.Garantia))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(bajaWare.InterfaceServiceGarantias.Garantia[]))]
    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="InterfaceServiceGarantias.IinterfacesServiceGarantia")]
    public interface IinterfacesServiceGarantia {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceGarantia/InsertaActualizaGarantia", ReplyAction="http://tempuri.org/IinterfacesServiceGarantia/InsertaActualizaGarantiaResponse")]
        bajaWare.InterfaceServiceGarantias.ServiceResult InsertaActualizaGarantia(bajaWare.InterfaceServiceGarantias.Garantia garantia);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServiceGarantia/ObtieneGarantias", ReplyAction="http://tempuri.org/IinterfacesServiceGarantia/ObtieneGarantiasResponse")]
        bajaWare.InterfaceServiceGarantias.Garantia[] ObtieneGarantias(System.Nullable<int> iOperacionId, int individual);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IinterfacesServiceGarantiaChannel : bajaWare.InterfaceServiceGarantias.IinterfacesServiceGarantia, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class IinterfacesServiceGarantiaClient : System.ServiceModel.ClientBase<bajaWare.InterfaceServiceGarantias.IinterfacesServiceGarantia>, bajaWare.InterfaceServiceGarantias.IinterfacesServiceGarantia {
        
        public IinterfacesServiceGarantiaClient() {
        }
        
        public IinterfacesServiceGarantiaClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public IinterfacesServiceGarantiaClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceGarantiaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServiceGarantiaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bajaWare.InterfaceServiceGarantias.ServiceResult InsertaActualizaGarantia(bajaWare.InterfaceServiceGarantias.Garantia garantia) {
            return base.Channel.InsertaActualizaGarantia(garantia);
        }
        
        public bajaWare.InterfaceServiceGarantias.Garantia[] ObtieneGarantias(System.Nullable<int> iOperacionId, int individual) {
            return base.Channel.ObtieneGarantias(iOperacionId, individual);
        }
    }
}
