Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
		private void detach_Revisions(Revision entity)
		{
			this.SendPropertyChanging();
			entity.Project = null;
		}
		private void attach_Revisions(Revision entity)
		{
			this.SendPropertyChanging();
			entity.Project = this;
		}
 partial void DeleteRevision(Revision instance);
 partial void UpdateRevision(Revision instance);
 partial void InsertRevision(Revision instance);
		public void SetLastImportedRevision(int revision)
		{
			_context.SubmitChanges();

			var lastRevision = new Revision {PluginProfileID = _legacyProfile.PluginProfileID, SourceControlID = revision, CommitDate = DateTime.Today.AddDays(-20)};
			_context.Revisions.InsertOnSubmit(lastRevision);

			ConvertEmailPluginProfile();
		}