/// <summary> /// Corrige l'état de la propriété de navigation Ref7. /// </summary> private void FixupRef7(Ref7 previousValue) { if (IsDeserializing) { return; } if (previousValue != null && previousValue.Ref7Actions.Contains(this)) { previousValue.Ref7Actions.Remove(this); } if (Ref7 != null) { if (!Ref7.Ref7Actions.Contains(this)) { Ref7.Ref7Actions.Add(this); } RefId = Ref7.RefId; } if (ChangeTracker.ChangeTrackingEnabled) { ChangeTracker.RecordValue("Ref7", previousValue, Ref7); if (Ref7 != null && !Ref7.ChangeTracker.ChangeTrackingEnabled) { Ref7.StartTracking(); } } }
/// <summary> /// Vide les propriétés de navigation. /// </summary> protected virtual void ClearNavigationProperties() { Actions.Clear(); RefResources.Clear(); Ref1.Clear(); Ref2.Clear(); Ref3.Clear(); Ref4.Clear(); Ref5.Clear(); Ref6.Clear(); Ref7.Clear(); RefActionCategories.Clear(); Skills.Clear(); DocumentationActionDrafts.Clear(); }