private void FixupGET_ASUNTO(GET_ASUNTO previousValue) { if (previousValue != null && previousValue.GET_TURNO.Contains(this)) { previousValue.GET_TURNO.Remove(this); } if (GET_ASUNTO != null) { if (!GET_ASUNTO.GET_TURNO.Contains(this)) { GET_ASUNTO.GET_TURNO.Add(this); } if (IdAsunto != GET_ASUNTO.IdAsunto) { IdAsunto = GET_ASUNTO.IdAsunto; } } }
private void FixupGET_ASUNTO(GET_ASUNTO previousValue) { if (previousValue != null && previousValue.REL_SIGNATARIO.Contains(this)) { previousValue.REL_SIGNATARIO.Remove(this); } if (GET_ASUNTO != null) { if (!GET_ASUNTO.REL_SIGNATARIO.Contains(this)) { GET_ASUNTO.REL_SIGNATARIO.Add(this); } if (IdAsunto != GET_ASUNTO.IdAsunto) { IdAsunto = GET_ASUNTO.IdAsunto; } } else if (!_settingFK) { IdAsunto = null; } }