Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
		private static IProfile GetProfile(IAccount account, PluginProfile legacyProfile)
		{
			var convertedProfileName = String.Concat(legacyProfile.ProfileName, "_converted");

			return account.Profiles.FirstOrDefault(x => x.Name == convertedProfileName) ??
						 account.Profiles.FirstOrDefault(x => x.Name == legacyProfile.ProfileName);
		}
		private static IProfile GetProfile(IAccount account, PluginProfile legacyProfile)
		{
			var convertedProfileName = String.Format("{0} _re-converted_", legacyProfile.ProfileName);

			return account.Profiles.FirstOrDefault(x => x.Name == convertedProfileName) ??
			       account.Profiles.FirstOrDefault(x => x.Name == legacyProfile.ProfileName);
		}
		protected override void ExecuteForProfile(PluginProfile legacyProfile, IAccount account)
		{
			var profile = GetProfile(account, legacyProfile);

			if (profile == null)
			{
				return;
			}

			MigrateRevisions(legacyProfile, profile);

			profile.Save();
		}
 partial void DeletePluginProfile(PluginProfile instance);
 partial void UpdatePluginProfile(PluginProfile instance);
 partial void InsertPluginProfile(PluginProfile instance);
		public void SetProfileName(string profileName)
		{
			var xmlDocument = new XmlDocument();
			xmlDocument.LoadXml(
				@"<?xml version=""1.0"" encoding=""utf-16""?>
<Settings xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
</Settings>");
			_legacyProfile = new PluginProfile
			{
				PluginName = "Subversion Integration",
				ProfileName = profileName,
				Active = true,
				Settings = xmlDocument.OuterXml,
			};
			_context.PluginProfiles.InsertOnSubmit(_legacyProfile);
		}