public virtual void PropertyChange(Net.Vpc.Upa.PropertyChangeEvent evt) { System.Collections.Generic.IDictionary <string, Net.Vpc.Upa.Impl.Persistence.FieldTracking> stringFieldTrackingMap = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <string, System.Collections.Generic.IDictionary <string, Net.Vpc.Upa.Impl.Persistence.FieldTracking> >(multiRecords.setterToProp, r); Net.Vpc.Upa.Impl.Persistence.FieldTracking t = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <string, Net.Vpc.Upa.Impl.Persistence.FieldTracking>(stringFieldTrackingMap, evt.GetPropertyName()); if (t != null) { result.Write <object>(t.GetIndex(), evt.GetNewValue()); } }
public virtual void PropertyChange(Net.Vpc.Upa.PropertyChangeEvent evt) { int index = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <string, Net.Vpc.Upa.Impl.Persistence.Result.FieldInfo>(typeInfo.fields, evt.GetPropertyName()).dbIndex; result.Write <object>(index, evt.GetNewValue()); }