private void Fixupaspnet_Paths(aspnet_Paths previousValue) { if (previousValue != null && ReferenceEquals(previousValue.aspnet_PersonalizationAllUsers, this)) { previousValue.aspnet_PersonalizationAllUsers = null; } if (aspnet_Paths != null) { aspnet_Paths.aspnet_PersonalizationAllUsers = this; if (PathId != aspnet_Paths.PathId) { PathId = aspnet_Paths.PathId; } } }
private void Fixupaspnet_Paths(aspnet_Paths previousValue) { if (previousValue != null && previousValue.aspnet_PersonalizationPerUser.Contains(this)) { previousValue.aspnet_PersonalizationPerUser.Remove(this); } if (aspnet_Paths != null) { if (!aspnet_Paths.aspnet_PersonalizationPerUser.Contains(this)) { aspnet_Paths.aspnet_PersonalizationPerUser.Add(this); } if (PathId != aspnet_Paths.PathId) { PathId = aspnet_Paths.PathId; } } else if (!_settingFK) { PathId = null; } }