partial void Updatesummary(summary instance);
 partial void Deletesummary(summary instance);
 partial void Insertsummary(summary instance);
		private void detach_summary(summary entity)
		{
			this.SendPropertyChanging();
			entity.YearMonth = null;
		}
		private void attach_summary(summary entity)
		{
			this.SendPropertyChanging();
			entity.YearMonth = this;
		}
		private void detach_summary(summary entity)
		{
			this.SendPropertyChanging();
			entity.Usergroup = null;
		}
		private void attach_summary(summary entity)
		{
			this.SendPropertyChanging();
			entity.Usergroup = this;
		}