partial void UpdateOrder(Order instance);
 partial void DeleteOrder(Order instance);
 partial void OnStatusChanging(Order.StatusX value);
 partial void InsertOrder(Order instance);
 partial void OnTypeChanging(Order.TypeX value);
		private void detach_OrdersByDepartment3(Order entity)
		{
			this.SendPropertyChanging();
			entity.Department3 = null;
		}
		private void attach_OrdersByDepartment2(Order entity)
		{
			this.SendPropertyChanging();
			entity.Department2 = this;
		}
		private void detach_Orders(Order entity)
		{
			this.SendPropertyChanging();
			entity.Org = null;
		}
		private void attach_Orders(Order entity)
		{
			this.SendPropertyChanging();
			entity.Org = this;
		}