private void FixupAPP_ROL(APP_ROL previousValue) { if (previousValue != null && previousValue.INF_INFODOC.Contains(this)) { previousValue.INF_INFODOC.Remove(this); } if (APP_ROL != null) { if (!APP_ROL.INF_INFODOC.Contains(this)) { APP_ROL.INF_INFODOC.Add(this); } if (IdRol != APP_ROL.IdRol) { IdRol = APP_ROL.IdRol; } } }
private void FixupAPP_ROL(APP_ROL previousValue) { if (previousValue != null && previousValue.REL_DESTINATARIO_CCP.Contains(this)) { previousValue.REL_DESTINATARIO_CCP.Remove(this); } if (APP_ROL != null) { if (!APP_ROL.REL_DESTINATARIO_CCP.Contains(this)) { APP_ROL.REL_DESTINATARIO_CCP.Add(this); } if (IdRol != APP_ROL.IdRol) { IdRol = APP_ROL.IdRol; } } }