private void FixupSys_SightClass(Sys_SightClass previousValue) { if (previousValue != null && previousValue.Sys_SightInfo.Contains(this)) { previousValue.Sys_SightInfo.Remove(this); } if (Sys_SightClass != null) { if (!Sys_SightClass.Sys_SightInfo.Contains(this)) { Sys_SightClass.Sys_SightInfo.Add(this); } if (ClassID != Sys_SightClass.ClassID) { ClassID = Sys_SightClass.ClassID; } } }
private void FixupSys_SightClass(Sys_SightClass previousValue) { if (previousValue != null && previousValue.Sys_SightInfo.Contains(this)) { previousValue.Sys_SightInfo.Remove(this); } if (Sys_SightClass != null) { if (!Sys_SightClass.Sys_SightInfo.Contains(this)) { Sys_SightClass.Sys_SightInfo.Add(this); } if (ClassID != Sys_SightClass.ClassID) { ClassID = Sys_SightClass.ClassID; } } }