public void StartTracking(IChangeTrackableObject trackableObject, ObjectChangeTracker currentTracker = null)
        {
            Contract.Requires(() => trackableObject != null, "Given reference must be non-null to be able to track it");

            ChangeTrackingContext.ChangeTracker = currentTracker ?? new ObjectChangeTracker(ChangeTrackingContext.Configuration, TrackableObjectFactory, trackableObject);
            PropertyChanged += (sender, e) => TrackProperty(trackableObject, e.PropertyName);

            ITrackableType trackableType = ChangeTrackingContext.Configuration.GetTrackableType
                                           (
                trackableObject.GetActualTypeIfTrackable()
                                           );

            HashSet <PropertyInfo> trackableProperties;

            if (trackableType != null && trackableType.IncludedProperties.Count > 0)
            {
                trackableProperties = new HashSet <PropertyInfo>(trackableType.IncludedProperties);
            }
            else
            {
                trackableProperties = new HashSet <PropertyInfo>
                                      (
                    trackableObject.GetType().GetProperties(DefaultBindingFlags | BindingFlags.DeclaredOnly)
                    .Where(p => p.CanReadAndWrite())
                                      );
            }

            IEnumerable <Type> baseTypes = trackableType.Type.GetAllBaseTypes();

            if (baseTypes.Count() > 0)
            {
                foreach (Type baseType in baseTypes)
                {
                    if (ChangeTrackingContext.Configuration.CanTrackType(baseType))
                    {
                        foreach (PropertyInfo property in ChangeTrackingContext.Configuration.GetTrackableType(baseType).IncludedProperties)
                        {
                            if (property.GetCustomAttribute <DoNotTrackChangesAttribute>() == null)
                            {
                                trackableProperties.Add(property);
                            }
                        }
                    }
                }
            }

            foreach (PropertyInfo property in trackableProperties)
            {
                if (property.GetCustomAttribute <DoNotTrackChangesAttribute>() == null && !property.IsIndexer() && !PropertyInterceptor.ChangeTrackingMembers.Contains(property.Name))
                {
                    if (property.IsEnumerable())
                    {
                        ToTrackableCollection(property, trackableObject);
                        ChangeTrackingContext.CollectionProperties.Add(property);
                    }

                    TrackProperty(trackableObject, property.Name);
                }
            }
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SISEPol_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_suc", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_suc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ramo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ramo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.fec_vig_desde", parentPropertyName), complexObject == null ? null : (object)complexObject.fec_vig_desde);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.fec_vig_hasta", parentPropertyName), complexObject == null ? null : (object)complexObject.fec_vig_hasta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_grupo_endo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_grupo_endo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_endo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_endo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_poliza", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_poliza);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_suma_asegurada", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_suma_asegurada);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_prima_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_prima_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_deremi_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_deremi_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_iva_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_iva_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_recfin_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_recfin_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pje_iva", parentPropertyName), complexObject == null ? null : (object)complexObject.pje_iva);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pje_recargo", parentPropertyName), complexObject == null ? null : (object)complexObject.pje_recargo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pje_gastos_emision", parentPropertyName), complexObject == null ? null : (object)complexObject.pje_gastos_emision);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pol_estado", parentPropertyName), complexObject == null ? null : (object)complexObject.pol_estado);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_periodo_pago", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_periodo_pago);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_usuario", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_usuario);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.fec_tarifa", parentPropertyName), complexObject == null ? null : (object)complexObject.fec_tarifa);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RFC", parentPropertyName), complexObject == null ? null : (object)complexObject.RFC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_operacion", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_operacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.aaaa_endoso", parentPropertyName), complexObject == null ? null : (object)complexObject.aaaa_endoso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nro_endoso", parentPropertyName), complexObject == null ? null : (object)complexObject.nro_endoso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_nivel_facturacion", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_nivel_facturacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_nivel_imp_factura", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_nivel_imp_factura);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Pje_part", parentPropertyName), complexObject == null ? null : (object)complexObject.Pje_part);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_premio_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_premio_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Cod_pto_vta", parentPropertyName), complexObject == null ? null : (object)complexObject.Cod_pto_vta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_clase_riesgo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_clase_riesgo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_riesgo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_riesgo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_sus", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_sus);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_RFC_Pagador", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_RFC_Pagador);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Cod_conducto", parentPropertyName), complexObject == null ? null : (object)complexObject.Cod_conducto);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectPresentacionUbicaciones_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroUbicacion", parentPropertyName), complexObject == null ? null : (object)complexObject.nroUbicacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_Calle", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_Calle);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_NroExterior", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_NroExterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_NroInterior", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_NroInterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.colonia", parentPropertyName), complexObject == null ? null : (object)complexObject.colonia);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.municipio", parentPropertyName), complexObject == null ? null : (object)complexObject.municipio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ciudad", parentPropertyName), complexObject == null ? null : (object)complexObject.ciudad);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.estado", parentPropertyName), complexObject == null ? null : (object)complexObject.estado);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pais", parentPropertyName), complexObject == null ? null : (object)complexObject.pais);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CodigoPostal", parentPropertyName), complexObject == null ? null : (object)complexObject.CodigoPostal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.giro", parentPropertyName), complexObject == null ? null : (object)complexObject.giro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Edificio", parentPropertyName), complexObject == null ? null : (object)complexObject.Edificio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Contenido", parentPropertyName), complexObject == null ? null : (object)complexObject.Contenido);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Interperie", parentPropertyName), complexObject == null ? null : (object)complexObject.Interperie);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Inventario", parentPropertyName), complexObject == null ? null : (object)complexObject.Inventario);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Escombros", parentPropertyName), complexObject == null ? null : (object)complexObject.Escombros);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Conocidos", parentPropertyName), complexObject == null ? null : (object)complexObject.Conocidos);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Nuevos", parentPropertyName), complexObject == null ? null : (object)complexObject.Nuevos);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GBrutas", parentPropertyName), complexObject == null ? null : (object)complexObject.GBrutas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PerRentas", parentPropertyName), complexObject == null ? null : (object)complexObject.PerRentas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PerUtilidades", parentPropertyName), complexObject == null ? null : (object)complexObject.PerUtilidades);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ReduccIngresos", parentPropertyName), complexObject == null ? null : (object)complexObject.ReduccIngresos);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SeguroContingente", parentPropertyName), complexObject == null ? null : (object)complexObject.SeguroContingente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GExtra", parentPropertyName), complexObject == null ? null : (object)complexObject.GExtra);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.añoConstruccion", parentPropertyName), complexObject == null ? null : (object)complexObject.añoConstruccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroPiso", parentPropertyName), complexObject == null ? null : (object)complexObject.nroPiso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroSotano", parentPropertyName), complexObject == null ? null : (object)complexObject.nroSotano);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.grupo", parentPropertyName), complexObject == null ? null : (object)complexObject.grupo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.gradoExp", parentPropertyName), complexObject == null ? null : (object)complexObject.gradoExp);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoConst", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoConst);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tarifacion", parentPropertyName), complexObject == null ? null : (object)complexObject.tarifacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.proPublica", parentPropertyName), complexObject == null ? null : (object)complexObject.proPublica);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.proPrivada", parentPropertyName), complexObject == null ? null : (object)complexObject.proPrivada);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.expoInterna", parentPropertyName), complexObject == null ? null : (object)complexObject.expoInterna);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.expoExterna", parentPropertyName), complexObject == null ? null : (object)complexObject.expoExterna);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.expoAgua", parentPropertyName), complexObject == null ? null : (object)complexObject.expoAgua);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.expoHumo", parentPropertyName), complexObject == null ? null : (object)complexObject.expoHumo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RangoNiveles", parentPropertyName), complexObject == null ? null : (object)complexObject.RangoNiveles);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonaTEV", parentPropertyName), complexObject == null ? null : (object)complexObject.zonaTEV);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CoaseguroTerremoto", parentPropertyName), complexObject == null ? null : (object)complexObject.CoaseguroTerremoto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.deducibleTerremoto", parentPropertyName), complexObject == null ? null : (object)complexObject.deducibleTerremoto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.crestaTerremoto", parentPropertyName), complexObject == null ? null : (object)complexObject.crestaTerremoto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonaHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.zonaHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.coaseguroHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.coaseguroHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.deducibleHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.deducibleHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.UbicacionCosta", parentPropertyName), complexObject == null ? null : (object)complexObject.UbicacionCosta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.crestaHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.crestaHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Longitud", parentPropertyName), complexObject == null ? null : (object)complexObject.Longitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Latitud", parentPropertyName), complexObject == null ? null : (object)complexObject.Latitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Comision", parentPropertyName), complexObject == null ? null : (object)complexObject.Comision);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DeducibleUSD", parentPropertyName), complexObject == null ? null : (object)complexObject.DeducibleUSD);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Calderas", parentPropertyName), complexObject == null ? null : (object)complexObject.Calderas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CalderasPC", parentPropertyName), complexObject == null ? null : (object)complexObject.CalderasPC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RotMaq", parentPropertyName), complexObject == null ? null : (object)complexObject.RotMaq);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RotMaqPC", parentPropertyName), complexObject == null ? null : (object)complexObject.RotMaqPC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EqContratista", parentPropertyName), complexObject == null ? null : (object)complexObject.EqContratista);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EqElec", parentPropertyName), complexObject == null ? null : (object)complexObject.EqElec);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EqElecMov", parentPropertyName), complexObject == null ? null : (object)complexObject.EqElecMov);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EEPort", parentPropertyName), complexObject == null ? null : (object)complexObject.EEPort);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EEIncCosto", parentPropertyName), complexObject == null ? null : (object)complexObject.EEIncCosto);
        }
     public static void RecordComplexOriginalValues(String parentPropertyName, ReissueReason complexObject, ObjectChangeTracker changeTracker)
     {
         if (String.IsNullOrEmpty(parentPropertyName))
         {
             throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
         }
 
         if (changeTracker == null)
         {
             throw new ArgumentNullException("changeTracker");
         }
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.NoPOS", parentPropertyName), complexObject == null ? null : (object)complexObject.NoPOS);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FCSReferral", parentPropertyName), complexObject == null ? null : (object)complexObject.FCSReferral);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GetAttyToPrepare", parentPropertyName), complexObject == null ? null : (object)complexObject.GetAttyToPrepare);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IsOtherReason", parentPropertyName), complexObject == null ? null : (object)complexObject.IsOtherReason);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.OtherReasonDescription", parentPropertyName), complexObject == null ? null : (object)complexObject.OtherReasonDescription);
     }
Beispiel #5
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportUbicaciones_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroUbicacion", parentPropertyName), complexObject == null ? null : (object)complexObject.nroUbicacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CodigoPostal", parentPropertyName), complexObject == null ? null : (object)complexObject.CodigoPostal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_Calle", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_Calle);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_NroExterior", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_NroExterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Domicilio_NroInterior", parentPropertyName), complexObject == null ? null : (object)complexObject.Domicilio_NroInterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.colonia", parentPropertyName), complexObject == null ? null : (object)complexObject.colonia);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ciudad", parentPropertyName), complexObject == null ? null : (object)complexObject.ciudad);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.estado", parentPropertyName), complexObject == null ? null : (object)complexObject.estado);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.municipio", parentPropertyName), complexObject == null ? null : (object)complexObject.municipio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Descripcion", parentPropertyName), complexObject == null ? null : (object)complexObject.Descripcion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Latitud", parentPropertyName), complexObject == null ? null : (object)complexObject.Latitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Longitud", parentPropertyName), complexObject == null ? null : (object)complexObject.Longitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoConstructivoIncendio", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoConstructivoIncendio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoConstructivoTerremoto", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoConstructivoTerremoto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.añoConstruccion", parentPropertyName), complexObject == null ? null : (object)complexObject.añoConstruccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroPiso", parentPropertyName), complexObject == null ? null : (object)complexObject.nroPiso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroSotano", parentPropertyName), complexObject == null ? null : (object)complexObject.nroSotano);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonaTev", parentPropertyName), complexObject == null ? null : (object)complexObject.zonaTev);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.zonHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.UbicacionCosta", parentPropertyName), complexObject == null ? null : (object)complexObject.UbicacionCosta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.AnalisisFire", parentPropertyName), complexObject == null ? null : (object)complexObject.AnalisisFire);
        }
Beispiel #6
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SISEAge_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_suc", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_suc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ramo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ramo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_agente", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_agente", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Pje_comis_normal", parentPropertyName), complexObject == null ? null : (object)complexObject.Pje_comis_normal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Pje_comis_extra", parentPropertyName), complexObject == null ? null : (object)complexObject.Pje_comis_extra);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_comis_normal_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_comis_normal_me);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportASAreaInc_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroUbicacion", parentPropertyName), complexObject == null ? null : (object)complexObject.nroUbicacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RiskClass", parentPropertyName), complexObject == null ? null : (object)complexObject.RiskClass);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.iso", parentPropertyName), complexObject == null ? null : (object)complexObject.iso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoCons", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoCons);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pct", parentPropertyName), complexObject == null ? null : (object)complexObject.pct);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Edificio", parentPropertyName), complexObject == null ? null : (object)complexObject.Edificio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Contenido", parentPropertyName), complexObject == null ? null : (object)complexObject.Contenido);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Perdidas", parentPropertyName), complexObject == null ? null : (object)complexObject.Perdidas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.orden", parentPropertyName), complexObject == null ? null : (object)complexObject.orden);
        }
     public static void RecordComplexOriginalValues(String parentPropertyName, HearingIssue complexObject, ObjectChangeTracker changeTracker)
     {
         if (String.IsNullOrEmpty(parentPropertyName))
         {
             throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
         }
 
         if (changeTracker == null)
         {
             throw new ArgumentNullException("changeTracker");
         }
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PermanentRO", parentPropertyName), complexObject == null ? null : (object)complexObject.PermanentRO);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ChildCustodyOrChildVisitation", parentPropertyName), complexObject == null ? null : (object)complexObject.ChildCustodyOrChildVisitation);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ChildSupport", parentPropertyName), complexObject == null ? null : (object)complexObject.ChildSupport);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SpousalSupport", parentPropertyName), complexObject == null ? null : (object)complexObject.SpousalSupport);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IsOtherIssue", parentPropertyName), complexObject == null ? null : (object)complexObject.IsOtherIssue);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.OtheIssueText", parentPropertyName), complexObject == null ? null : (object)complexObject.OtheIssueText);
     }
        public static void RecordComplexOriginalValues(String parentPropertyName, SISETransporte_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_item", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_item);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_seg", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_seg);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_merc", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_merc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_medio_trans", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_medio_trans);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_origen_dest", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_origen_dest);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_prono", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_prono);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_pronostico", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_pronostico);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_prima_dep", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_prima_dep);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_limite_maxE", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_limite_maxE);
        }
Beispiel #10
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SISEInc_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_item", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_item);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ind_cob", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ind_cob);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_giro_negocio", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_giro_negocio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_pais", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_pais);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_dpto", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_dpto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_municipio", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_municipio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ciudad", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ciudad);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_colonia", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_colonia);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_direccion", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_direccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nro_exterior", parentPropertyName), complexObject == null ? null : (object)complexObject.nro_exterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nro_interior", parentPropertyName), complexObject == null ? null : (object)complexObject.nro_interior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_postal", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_postal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_hazard_grade", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_hazard_grade);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_constr", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_constr);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_deremi_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_deremi_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_iva_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_iva_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_recfin_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_recfin_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cnt_pisos", parentPropertyName), complexObject == null ? null : (object)complexObject.cnt_pisos);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cnt_pisos_sot", parentPropertyName), complexObject == null ? null : (object)complexObject.cnt_pisos_sot);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.aaaa_construccion", parentPropertyName), complexObject == null ? null : (object)complexObject.aaaa_construccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zona_amis_terremoto", parentPropertyName), complexObject == null ? null : (object)complexObject.zona_amis_terremoto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_premio_me", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_premio_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zona_amis_huracan", parentPropertyName), complexObject == null ? null : (object)complexObject.zona_amis_huracan);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Imp_participa_me", parentPropertyName), complexObject == null ? null : (object)complexObject.Imp_participa_me);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_benef_1", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_benef_1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_benef1", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_benef1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_nombre_benef1", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_nombre_benef1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_benef_2", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_benef_2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_benef2", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_benef2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_nombre_benef2", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_nombre_benef2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_benef_3", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_benef_3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_benef3", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_benef3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_nombre_benef3", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_nombre_benef3);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SISEEquipoDetalle_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ip_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.ip_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ind_cob", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ind_cob);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.anio", parentPropertyName), complexObject == null ? null : (object)complexObject.anio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Marca", parentPropertyName), complexObject == null ? null : (object)complexObject.Marca);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Descripcion", parentPropertyName), complexObject == null ? null : (object)complexObject.Descripcion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Limite", parentPropertyName), complexObject == null ? null : (object)complexObject.Limite);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.NroSerie", parentPropertyName), complexObject == null ? null : (object)complexObject.NroSerie);
        }
Beispiel #12
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportRC_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.agente", parentPropertyName), complexObject == null ? null : (object)complexObject.agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.contacto", parentPropertyName), complexObject == null ? null : (object)complexObject.contacto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Comision", parentPropertyName), complexObject == null ? null : (object)complexObject.Comision);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.giro", parentPropertyName), complexObject == null ? null : (object)complexObject.giro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.direccion", parentPropertyName), complexObject == null ? null : (object)complexObject.direccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.webPage", parentPropertyName), complexObject == null ? null : (object)complexObject.webPage);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.suscriptor", parentPropertyName), complexObject == null ? null : (object)complexObject.suscriptor);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoOperacion", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoOperacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Participacion", parentPropertyName), complexObject == null ? null : (object)complexObject.Participacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SISEcod_suc", parentPropertyName), complexObject == null ? null : (object)complexObject.SISEcod_suc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.VigenciaInicio", parentPropertyName), complexObject == null ? null : (object)complexObject.VigenciaInicio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.VigenciaFin", parentPropertyName), complexObject == null ? null : (object)complexObject.VigenciaFin);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.isReferral", parentPropertyName), complexObject == null ? null : (object)complexObject.isReferral);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.isNew", parentPropertyName), complexObject == null ? null : (object)complexObject.isNew);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroPolizaAnt", parentPropertyName), complexObject == null ? null : (object)complexObject.nroPolizaAnt);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoCambio", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoCambio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.division", parentPropertyName), complexObject == null ? null : (object)complexObject.division);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.grupo", parentPropertyName), complexObject == null ? null : (object)complexObject.grupo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.sicNombre", parentPropertyName), complexObject == null ? null : (object)complexObject.sicNombre);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tri", parentPropertyName), complexObject == null ? null : (object)complexObject.tri);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.retro", parentPropertyName), complexObject == null ? null : (object)complexObject.retro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Premises", parentPropertyName), complexObject == null ? null : (object)complexObject.Premises);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Products", parentPropertyName), complexObject == null ? null : (object)complexObject.Products);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.limite", parentPropertyName), complexObject == null ? null : (object)complexObject.limite);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrAuto", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrAuto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrConstruction", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrConstruction);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrLiability", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrLiability);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrPremises", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrPremises);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrProducts", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrProducts);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pctAuto", parentPropertyName), complexObject == null ? null : (object)complexObject.pctAuto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pctConstruction", parentPropertyName), complexObject == null ? null : (object)complexObject.pctConstruction);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pctLiability", parentPropertyName), complexObject == null ? null : (object)complexObject.pctLiability);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pctPremises", parentPropertyName), complexObject == null ? null : (object)complexObject.pctPremises);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pctProducts", parentPropertyName), complexObject == null ? null : (object)complexObject.pctProducts);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Comments1", parentPropertyName), complexObject == null ? null : (object)complexObject.Comments1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Comments2", parentPropertyName), complexObject == null ? null : (object)complexObject.Comments2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Comments3", parentPropertyName), complexObject == null ? null : (object)complexObject.Comments3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Authority", parentPropertyName), complexObject == null ? null : (object)complexObject.Authority);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrAutoID", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrAutoID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrConstructionID", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrConstructionID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrLiabilityID", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrLiabilityID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrPremisesID", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrPremisesID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.typeOcurrProductsID", parentPropertyName), complexObject == null ? null : (object)complexObject.typeOcurrProductsID);
        }
Beispiel #13
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportAS_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Participacion", parentPropertyName), complexObject == null ? null : (object)complexObject.Participacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Reinsurance", parentPropertyName), complexObject == null ? null : (object)complexObject.Reinsurance);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Carrier", parentPropertyName), complexObject == null ? null : (object)complexObject.Carrier);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CostNetGross", parentPropertyName), complexObject == null ? null : (object)complexObject.CostNetGross);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Terms", parentPropertyName), complexObject == null ? null : (object)complexObject.Terms);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Explanation", parentPropertyName), complexObject == null ? null : (object)complexObject.Explanation);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LossControlReport", parentPropertyName), complexObject == null ? null : (object)complexObject.LossControlReport);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LossControlService", parentPropertyName), complexObject == null ? null : (object)complexObject.LossControlService);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Recommendations", parentPropertyName), complexObject == null ? null : (object)complexObject.Recommendations);
        }
     public static void RecordComplexOriginalValues(String parentPropertyName, RestrainingPartyIDInfo complexObject, ObjectChangeTracker changeTracker)
     {
         if (String.IsNullOrEmpty(parentPropertyName))
         {
             throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
         }
 
         if (changeTracker == null)
         {
             throw new ArgumentNullException("changeTracker");
         }
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IDType", parentPropertyName), complexObject == null ? null : (object)complexObject.IDType);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IDNumber", parentPropertyName), complexObject == null ? null : (object)complexObject.IDNumber);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IDIssuedDate", parentPropertyName), complexObject == null ? null : (object)complexObject.IDIssuedDate);
     }
Beispiel #15
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectCotizacionPresentacionRC_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DescripcionCNSF_AMIS", parentPropertyName), complexObject == null ? null : (object)complexObject.DescripcionCNSF_AMIS);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.division", parentPropertyName), complexObject == null ? null : (object)complexObject.division);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.grupo", parentPropertyName), complexObject == null ? null : (object)complexObject.grupo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.desde", parentPropertyName), complexObject == null ? null : (object)complexObject.desde);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.hasta", parentPropertyName), complexObject == null ? null : (object)complexObject.hasta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.contacto", parentPropertyName), complexObject == null ? null : (object)complexObject.contacto);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectPagina_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.texto", parentPropertyName), complexObject == null ? null : (object)complexObject.texto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.icono", parentPropertyName), complexObject == null ? null : (object)complexObject.icono);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.actionName", parentPropertyName), complexObject == null ? null : (object)complexObject.actionName);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.controllerName", parentPropertyName), complexObject == null ? null : (object)complexObject.controllerName);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.orden", parentPropertyName), complexObject == null ? null : (object)complexObject.orden);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ControllerContainer", parentPropertyName), complexObject == null ? null : (object)complexObject.ControllerContainer);
        }
Beispiel #17
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectCodigoPostalDatos_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ZonaHidroID", parentPropertyName), complexObject == null ? null : (object)complexObject.ZonaHidroID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ZonaTEVID", parentPropertyName), complexObject == null ? null : (object)complexObject.ZonaTEVID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.longitud", parentPropertyName), complexObject == null ? null : (object)complexObject.longitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.latitud", parentPropertyName), complexObject == null ? null : (object)complexObject.latitud);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.esCosta", parentPropertyName), complexObject == null ? null : (object)complexObject.esCosta);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, UpdateCotizacionTransporte_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaTarifaMinRenovacion", parentPropertyName), complexObject == null ? null : (object)complexObject.primaTarifaMinRenovacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaTarifaMaxRenovacion", parentPropertyName), complexObject == null ? null : (object)complexObject.primaTarifaMaxRenovacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaNetaNuevo", parentPropertyName), complexObject == null ? null : (object)complexObject.primaNetaNuevo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaNetaRenovacion", parentPropertyName), complexObject == null ? null : (object)complexObject.primaNetaRenovacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CuotaRenovacion", parentPropertyName), complexObject == null ? null : (object)complexObject.CuotaRenovacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CuotaNuevo", parentPropertyName), complexObject == null ? null : (object)complexObject.CuotaNuevo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PrimaNetaModificada", parentPropertyName), complexObject == null ? null : (object)complexObject.PrimaNetaModificada);
        }
Beispiel #19
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SISECob_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_item", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_item);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ind_cob", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ind_cob);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ramo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ramo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_giro_negocio", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_giro_negocio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_objeto", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_objeto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_deduc", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_deduc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_prima", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_prima);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_prima_tasa", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_prima_tasa);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pje_inflacion", parentPropertyName), complexObject == null ? null : (object)complexObject.pje_inflacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.pje_inflacion_prima", parentPropertyName), complexObject == null ? null : (object)complexObject.pje_inflacion_prima);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_suma_inflacion", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_suma_inflacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_prima_inflacion", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_prima_inflacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_suma_asegurable", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_suma_asegurable);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.imp_suma_aseg", parentPropertyName), complexObject == null ? null : (object)complexObject.imp_suma_aseg);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tarifa", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tarifa);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_tasa", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_tasa);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Sn_acum_prima_total", parentPropertyName), complexObject == null ? null : (object)complexObject.Sn_acum_prima_total);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Sn_acum_suma_total", parentPropertyName), complexObject == null ? null : (object)complexObject.Sn_acum_suma_total);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Pje_tasa", parentPropertyName), complexObject == null ? null : (object)complexObject.Pje_tasa);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Cod_unidad_deduc", parentPropertyName), complexObject == null ? null : (object)complexObject.Cod_unidad_deduc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Cod_deduc_aplica", parentPropertyName), complexObject == null ? null : (object)complexObject.Cod_deduc_aplica);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.txt_detalle", parentPropertyName), complexObject == null ? null : (object)complexObject.txt_detalle);
        }
Beispiel #20
0
        public static void RecordComplexOriginalValues(String parentPropertyName, AddressInformation complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Fax", parentPropertyName), complexObject == null ? null : (object)complexObject.Fax);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Telephone", parentPropertyName), complexObject == null ? null : (object)complexObject.Telephone);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PostalCode", parentPropertyName), complexObject == null ? null : (object)complexObject.PostalCode);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.City", parentPropertyName), complexObject == null ? null : (object)complexObject.City);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Address", parentPropertyName), complexObject == null ? null : (object)complexObject.Address);
        }
Beispiel #21
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportTransporte_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.asegurado", parentPropertyName), complexObject == null ? null : (object)complexObject.asegurado);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.contacto", parentPropertyName), complexObject == null ? null : (object)complexObject.contacto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.agente", parentPropertyName), complexObject == null ? null : (object)complexObject.agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.sucursal", parentPropertyName), complexObject == null ? null : (object)complexObject.sucursal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Fecha", parentPropertyName), complexObject == null ? null : (object)complexObject.Fecha);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoOperacion", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoOperacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Participacion", parentPropertyName), complexObject == null ? null : (object)complexObject.Participacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoBien", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoBien);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.com", parentPropertyName), complexObject == null ? null : (object)complexObject.com);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Class", parentPropertyName), complexObject == null ? null : (object)complexObject.Class);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.code", parentPropertyName), complexObject == null ? null : (object)complexObject.code);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GeographicPattern", parentPropertyName), complexObject == null ? null : (object)complexObject.GeographicPattern);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CuotaAnterior", parentPropertyName), complexObject == null ? null : (object)complexObject.CuotaAnterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.modalidad", parentPropertyName), complexObject == null ? null : (object)complexObject.modalidad);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cobertura", parentPropertyName), complexObject == null ? null : (object)complexObject.cobertura);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TextoMonto1", parentPropertyName), complexObject == null ? null : (object)complexObject.TextoMonto1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TextoMonto2", parentPropertyName), complexObject == null ? null : (object)complexObject.TextoMonto2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TextoMonto3", parentPropertyName), complexObject == null ? null : (object)complexObject.TextoMonto3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DeducRobo", parentPropertyName), complexObject == null ? null : (object)complexObject.DeducRobo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DeducOtros", parentPropertyName), complexObject == null ? null : (object)complexObject.DeducOtros);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DeducEspecial", parentPropertyName), complexObject == null ? null : (object)complexObject.DeducEspecial);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EstimadoAnual", parentPropertyName), complexObject == null ? null : (object)complexObject.EstimadoAnual);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.limite", parentPropertyName), complexObject == null ? null : (object)complexObject.limite);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoPronostico", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoPronostico);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FPA", parentPropertyName), complexObject == null ? null : (object)complexObject.FPA);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.isNew", parentPropertyName), complexObject == null ? null : (object)complexObject.isNew);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Agua", parentPropertyName), complexObject == null ? null : (object)complexObject.Agua);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Rotura", parentPropertyName), complexObject == null ? null : (object)complexObject.Rotura);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.deterioro", parentPropertyName), complexObject == null ? null : (object)complexObject.deterioro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.hurto", parentPropertyName), complexObject == null ? null : (object)complexObject.hurto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.robo", parentPropertyName), complexObject == null ? null : (object)complexObject.robo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GuerraHuelga", parentPropertyName), complexObject == null ? null : (object)complexObject.GuerraHuelga);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.GuerraHuelgaVal", parentPropertyName), complexObject == null ? null : (object)complexObject.GuerraHuelgaVal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.formaPago", parentPropertyName), complexObject == null ? null : (object)complexObject.formaPago);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PrimaPolAnterior", parentPropertyName), complexObject == null ? null : (object)complexObject.PrimaPolAnterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SinUltimo", parentPropertyName), complexObject == null ? null : (object)complexObject.SinUltimo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SinPenultimo", parentPropertyName), complexObject == null ? null : (object)complexObject.SinPenultimo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SinAntepenultimo", parentPropertyName), complexObject == null ? null : (object)complexObject.SinAntepenultimo);
        }
Beispiel #22
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectEquipoPresentacion_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Inciso", parentPropertyName), complexObject == null ? null : (object)complexObject.Inciso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Marca", parentPropertyName), complexObject == null ? null : (object)complexObject.Marca);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Descripcion", parentPropertyName), complexObject == null ? null : (object)complexObject.Descripcion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroSerie", parentPropertyName), complexObject == null ? null : (object)complexObject.nroSerie);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Valor", parentPropertyName), complexObject == null ? null : (object)complexObject.Valor);
        }
Beispiel #23
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportCOPE_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.UbicacionID", parentPropertyName), complexObject == null ? null : (object)complexObject.UbicacionID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.location", parentPropertyName), complexObject == null ? null : (object)complexObject.location);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoIncendio", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoIncendio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Description", parentPropertyName), complexObject == null ? null : (object)complexObject.Description);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.añoConstruccion", parentPropertyName), complexObject == null ? null : (object)complexObject.añoConstruccion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Pisos", parentPropertyName), complexObject == null ? null : (object)complexObject.Pisos);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FireAreas", parentPropertyName), complexObject == null ? null : (object)complexObject.FireAreas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.giro", parentPropertyName), complexObject == null ? null : (object)complexObject.giro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PublicProtection", parentPropertyName), complexObject == null ? null : (object)complexObject.PublicProtection);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.DistanceRisk", parentPropertyName), complexObject == null ? null : (object)complexObject.DistanceRisk);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PrivateProtection", parentPropertyName), complexObject == null ? null : (object)complexObject.PrivateProtection);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.iso", parentPropertyName), complexObject == null ? null : (object)complexObject.iso);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PaidFire", parentPropertyName), complexObject == null ? null : (object)complexObject.PaidFire);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FireExterior", parentPropertyName), complexObject == null ? null : (object)complexObject.FireExterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FireInterior", parentPropertyName), complexObject == null ? null : (object)complexObject.FireInterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.smoke", parentPropertyName), complexObject == null ? null : (object)complexObject.smoke);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.water", parentPropertyName), complexObject == null ? null : (object)complexObject.water);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonaTEV", parentPropertyName), complexObject == null ? null : (object)complexObject.zonaTEV);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.zonaHidro", parentPropertyName), complexObject == null ? null : (object)complexObject.zonaHidro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MMI", parentPropertyName), complexObject == null ? null : (object)complexObject.MMI);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML", parentPropertyName), complexObject == null ? null : (object)complexObject.PML);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML1", parentPropertyName), complexObject == null ? null : (object)complexObject.PML1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre1", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML2", parentPropertyName), complexObject == null ? null : (object)complexObject.PML2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre2", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML3", parentPropertyName), complexObject == null ? null : (object)complexObject.PML3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre3", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre3);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML4", parentPropertyName), complexObject == null ? null : (object)complexObject.PML4);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre4", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre4);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PML5", parentPropertyName), complexObject == null ? null : (object)complexObject.PML5);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombre5", parentPropertyName), complexObject == null ? null : (object)complexObject.nombre5);
        }
Beispiel #24
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskReportGeneralInformation_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Fecha", parentPropertyName), complexObject == null ? null : (object)complexObject.Fecha);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoPersona", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoPersona);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.FormaPago", parentPropertyName), complexObject == null ? null : (object)complexObject.FormaPago);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.rfc", parentPropertyName), complexObject == null ? null : (object)complexObject.rfc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RazonSocial", parentPropertyName), complexObject == null ? null : (object)complexObject.RazonSocial);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Nombres", parentPropertyName), complexObject == null ? null : (object)complexObject.Nombres);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Apellido1", parentPropertyName), complexObject == null ? null : (object)complexObject.Apellido1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Apellido2", parentPropertyName), complexObject == null ? null : (object)complexObject.Apellido2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.webPage", parentPropertyName), complexObject == null ? null : (object)complexObject.webPage);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.sucursal", parentPropertyName), complexObject == null ? null : (object)complexObject.sucursal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.agente", parentPropertyName), complexObject == null ? null : (object)complexObject.agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.contacto", parentPropertyName), complexObject == null ? null : (object)complexObject.contacto);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.comision", parentPropertyName), complexObject == null ? null : (object)complexObject.comision);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nombreUsuario", parentPropertyName), complexObject == null ? null : (object)complexObject.nombreUsuario);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SIC", parentPropertyName), complexObject == null ? null : (object)complexObject.SIC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.isNew", parentPropertyName), complexObject == null ? null : (object)complexObject.isNew);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nroPolizaAnt", parentPropertyName), complexObject == null ? null : (object)complexObject.nroPolizaAnt);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoOperacion", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoOperacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Participacion", parentPropertyName), complexObject == null ? null : (object)complexObject.Participacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.VigenciaInicio", parentPropertyName), complexObject == null ? null : (object)complexObject.VigenciaInicio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.VigenciaFin", parentPropertyName), complexObject == null ? null : (object)complexObject.VigenciaFin);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.dias", parentPropertyName), complexObject == null ? null : (object)complexObject.dias);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.giro", parentPropertyName), complexObject == null ? null : (object)complexObject.giro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nivelFire", parentPropertyName), complexObject == null ? null : (object)complexObject.nivelFire);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nivelLiability", parentPropertyName), complexObject == null ? null : (object)complexObject.nivelLiability);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.nivelProduct", parentPropertyName), complexObject == null ? null : (object)complexObject.nivelProduct);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Machinery", parentPropertyName), complexObject == null ? null : (object)complexObject.Machinery);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoCambio", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoCambio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Narrative", parentPropertyName), complexObject == null ? null : (object)complexObject.Narrative);
        }
Beispiel #25
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SISEClausula_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.id_pv", parentPropertyName), complexObject == null ? null : (object)complexObject.id_pv);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_suc", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_suc);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_item", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_item);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_ind_cob", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_ind_cob);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_tipo_anexo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_tipo_anexo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cod_anexo", parentPropertyName), complexObject == null ? null : (object)complexObject.cod_anexo);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectAdjustedRateRang_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.minValue", parentPropertyName), complexObject == null ? null : (object)complexObject.minValue);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.maxValue", parentPropertyName), complexObject == null ? null : (object)complexObject.maxValue);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectResumenPresentacion_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaTotal", parentPropertyName), complexObject == null ? null : (object)complexObject.primaTotal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PrimaNeta", parentPropertyName), complexObject == null ? null : (object)complexObject.PrimaNeta);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.recargo", parentPropertyName), complexObject == null ? null : (object)complexObject.recargo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.formaPago", parentPropertyName), complexObject == null ? null : (object)complexObject.formaPago);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.usuario", parentPropertyName), complexObject == null ? null : (object)complexObject.usuario);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Derecho", parentPropertyName), complexObject == null ? null : (object)complexObject.Derecho);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.IVA", parentPropertyName), complexObject == null ? null : (object)complexObject.IVA);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.primaNetaAnual", parentPropertyName), complexObject == null ? null : (object)complexObject.primaNetaAnual);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectTextosPrimaPresentacionRC_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.grupo", parentPropertyName), complexObject == null ? null : (object)complexObject.grupo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.texto1", parentPropertyName), complexObject == null ? null : (object)complexObject.texto1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.texto2", parentPropertyName), complexObject == null ? null : (object)complexObject.texto2);
        }
Beispiel #29
0
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectPrimasPresentacion_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CoberturaID", parentPropertyName), complexObject == null ? null : (object)complexObject.CoberturaID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.SubLineaNegocioID", parentPropertyName), complexObject == null ? null : (object)complexObject.SubLineaNegocioID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Bienes", parentPropertyName), complexObject == null ? null : (object)complexObject.Bienes);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Infl", parentPropertyName), complexObject == null ? null : (object)complexObject.Infl);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.valorAsegurable", parentPropertyName), complexObject == null ? null : (object)complexObject.valorAsegurable);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.sumaAsegurada", parentPropertyName), complexObject == null ? null : (object)complexObject.sumaAsegurada);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cuotas", parentPropertyName), complexObject == null ? null : (object)complexObject.cuotas);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.simbolo", parentPropertyName), complexObject == null ? null : (object)complexObject.simbolo);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.prima", parentPropertyName), complexObject == null ? null : (object)complexObject.prima);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.cuotas2", parentPropertyName), complexObject == null ? null : (object)complexObject.cuotas2);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.isNegritaPresentacion", parentPropertyName), complexObject == null ? null : (object)complexObject.isNegritaPresentacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ordenCob", parentPropertyName), complexObject == null ? null : (object)complexObject.ordenCob);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ordenSubLinea", parentPropertyName), complexObject == null ? null : (object)complexObject.ordenSubLinea);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectRiskBrowser_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ACCNTNUM", parentPropertyName), complexObject == null ? null : (object)complexObject.ACCNTNUM);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ACCNTNAME", parentPropertyName), complexObject == null ? null : (object)complexObject.ACCNTNAME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.POLICYNUM", parentPropertyName), complexObject == null ? null : (object)complexObject.POLICYNUM);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LOBNAME", parentPropertyName), complexObject == null ? null : (object)complexObject.LOBNAME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.INCEPTDATE", parentPropertyName), complexObject == null ? null : (object)complexObject.INCEPTDATE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EXPIREDATE", parentPropertyName), complexObject == null ? null : (object)complexObject.EXPIREDATE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.UNDCOVAMT", parentPropertyName), complexObject == null ? null : (object)complexObject.UNDCOVAMT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.UNDCOVCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.UNDCOVCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PARTOF", parentPropertyName), complexObject == null ? null : (object)complexObject.PARTOF);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PARTOFCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.PARTOFCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.POLICYTYPE", parentPropertyName), complexObject == null ? null : (object)complexObject.POLICYTYPE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MINDEDAMT", parentPropertyName), complexObject == null ? null : (object)complexObject.MINDEDAMT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MINDEDCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.MINDEDCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MAXDEDAMT", parentPropertyName), complexObject == null ? null : (object)complexObject.MAXDEDAMT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MAXDEDCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.MAXDEDCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLANDEDAMT", parentPropertyName), complexObject == null ? null : (object)complexObject.BLANDEDAMT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLANDEDCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.BLANDEDCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLANLIMAMT", parentPropertyName), complexObject == null ? null : (object)complexObject.BLANLIMAMT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLANLIMCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.BLANLIMCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ACCNTNUM1", parentPropertyName), complexObject == null ? null : (object)complexObject.ACCNTNUM1);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LOCNUM", parentPropertyName), complexObject == null ? null : (object)complexObject.LOCNUM);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LOCNAME", parentPropertyName), complexObject == null ? null : (object)complexObject.LOCNAME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.STREETNAME", parentPropertyName), complexObject == null ? null : (object)complexObject.STREETNAME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CITY", parentPropertyName), complexObject == null ? null : (object)complexObject.CITY);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.STATECODE", parentPropertyName), complexObject == null ? null : (object)complexObject.STATECODE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CodigoPostal", parentPropertyName), complexObject == null ? null : (object)complexObject.CodigoPostal);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.NUMBLDGS", parentPropertyName), complexObject == null ? null : (object)complexObject.NUMBLDGS);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLDGSCHEME", parentPropertyName), complexObject == null ? null : (object)complexObject.BLDGSCHEME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.BLDGCLASS", parentPropertyName), complexObject == null ? null : (object)complexObject.BLDGCLASS);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.OCCSCHEME", parentPropertyName), complexObject == null ? null : (object)complexObject.OCCSCHEME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.OCCTYPE", parentPropertyName), complexObject == null ? null : (object)complexObject.OCCTYPE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.YEARBUILT", parentPropertyName), complexObject == null ? null : (object)complexObject.YEARBUILT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.NUMSTORIES", parentPropertyName), complexObject == null ? null : (object)complexObject.NUMSTORIES);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CNTRYSCHEME", parentPropertyName), complexObject == null ? null : (object)complexObject.CNTRYSCHEME);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CNTRYCODE", parentPropertyName), complexObject == null ? null : (object)complexObject.CNTRYCODE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LATITUDE", parentPropertyName), complexObject == null ? null : (object)complexObject.LATITUDE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.LONGITUDE", parentPropertyName), complexObject == null ? null : (object)complexObject.LONGITUDE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV1LIMIT", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV1LIMIT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV1LCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV1LCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV1DED", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV1DED);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV1VAL", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV1VAL);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV1VCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV1VCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV2LIMIT", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV2LIMIT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV2LCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV2LCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV2DED", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV2DED);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV2VAL", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV2VAL);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV2VCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV2VCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV3LIMIT", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV3LIMIT);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV3LCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV3LCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV3DED", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV3DED);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV3VAL", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV3VAL);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQCV3DCUR", parentPropertyName), complexObject == null ? null : (object)complexObject.EQCV3DCUR);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.COINSURED", parentPropertyName), complexObject == null ? null : (object)complexObject.COINSURED);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.tipoOperacion", parentPropertyName), complexObject == null ? null : (object)complexObject.tipoOperacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Participacion", parentPropertyName), complexObject == null ? null : (object)complexObject.Participacion);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.EQZONE", parentPropertyName), complexObject == null ? null : (object)complexObject.EQZONE);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.MUNICIPIO", parentPropertyName), complexObject == null ? null : (object)complexObject.MUNICIPIO);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.COLONIA", parentPropertyName), complexObject == null ? null : (object)complexObject.COLONIA);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectCotizacionPresentacion_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Fecha", parentPropertyName), complexObject == null ? null : (object)complexObject.Fecha);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Asegurado", parentPropertyName), complexObject == null ? null : (object)complexObject.Asegurado);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.giro", parentPropertyName), complexObject == null ? null : (object)complexObject.giro);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.moneda", parentPropertyName), complexObject == null ? null : (object)complexObject.moneda);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.vigencia", parentPropertyName), complexObject == null ? null : (object)complexObject.vigencia);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.agente", parentPropertyName), complexObject == null ? null : (object)complexObject.agente);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ubi", parentPropertyName), complexObject == null ? null : (object)complexObject.ubi);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RFC", parentPropertyName), complexObject == null ? null : (object)complexObject.RFC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.VigenciaInicio", parentPropertyName), complexObject == null ? null : (object)complexObject.VigenciaInicio);
        }
        public static void RecordComplexOriginalValues(String parentPropertyName, SelectBeneficiario_Result complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TipoBeneficiarioID", parentPropertyName), complexObject == null ? null : (object)complexObject.TipoBeneficiarioID);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.RFC", parentPropertyName), complexObject == null ? null : (object)complexObject.RFC);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Nombre", parentPropertyName), complexObject == null ? null : (object)complexObject.Nombre);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.PersonaID", parentPropertyName), complexObject == null ? null : (object)complexObject.PersonaID);
        }
Beispiel #33
0
        public static void RecordComplexOriginalValues(String parentPropertyName, GetCicloVentasResult complexObject, ObjectChangeTracker changeTracker)
        {
            if (String.IsNullOrEmpty(parentPropertyName))
            {
                throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
            }

            if (changeTracker == null)
            {
                throw new ArgumentNullException("changeTracker");
            }
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Laboratorio", parentPropertyName), complexObject == null ? null : (object)complexObject.Laboratorio);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CantidadVentaAnterior", parentPropertyName), complexObject == null ? null : (object)complexObject.CantidadVentaAnterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TotalVentaAnterior", parentPropertyName), complexObject == null ? null : (object)complexObject.TotalVentaAnterior);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.CantidadVentaActual", parentPropertyName), complexObject == null ? null : (object)complexObject.CantidadVentaActual);
            changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.TotalVentaActual", parentPropertyName), complexObject == null ? null : (object)complexObject.TotalVentaActual);
        }
     public static void RecordComplexOriginalValues(String parentPropertyName, AddressInfo complexObject, ObjectChangeTracker changeTracker)
     {
         if (String.IsNullOrEmpty(parentPropertyName))
         {
             throw new ArgumentException("String parameter cannot be null or empty.", "parentPropertyName");
         }
 
         if (changeTracker == null)
         {
             throw new ArgumentNullException("changeTracker");
         }
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.StreetAddress", parentPropertyName), complexObject == null ? null : (object)complexObject.StreetAddress);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.City", parentPropertyName), complexObject == null ? null : (object)complexObject.City);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.USAState", parentPropertyName), complexObject == null ? null : (object)complexObject.USAState);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.ZipCode", parentPropertyName), complexObject == null ? null : (object)complexObject.ZipCode);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Phone", parentPropertyName), complexObject == null ? null : (object)complexObject.Phone);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.Fax", parentPropertyName), complexObject == null ? null : (object)complexObject.Fax);
         changeTracker.RecordOriginalValue(String.Format(CultureInfo.InvariantCulture, "{0}.AddressType", parentPropertyName), complexObject == null ? null : (object)complexObject.AddressType);
     }
Beispiel #35
0
 /// <summary>
 /// Controller to Access the Documents
 /// </summary>
 /// <param name="db"></param>
 public ObjectController(IGenericDataStore db, ObjectChangeTracker ct)
 {
     this.db            = db;
     this.changeTracker = ct;
 }