partial void UpdatePurchase(Purchase instance);
 partial void InsertPurchase(Purchase instance);
		private void detach_Purchases(Purchase entity)
		{
			this.SendPropertyChanging();
			entity.Product = null;
		}
		private void attach_Purchases(Purchase entity)
		{
			this.SendPropertyChanging();
			entity.Product = this;
		}
		private void detach_Purchases(Purchase entity)
		{
			this.SendPropertyChanging();
			entity.UserProfile = null;
		}
 partial void DeletePurchase(Purchase instance);