public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::lession1.model.Assignment4_food)newDataRoot;
         return(true);
     }
     return(false);
 }
            // Update methods for each path node used in binding steps.
            private void Update_(global::lession1.model.Assignment4_food obj, int phase)
            {
                Assignment4_food_Items_obj4_Bindings bindings = this;

                if (obj != null)
                {
                    if ((phase & (NOT_PHASED | (1 << 0))) != 0)
                    {
                        this.Update_image(obj.image, phase);
                        this.Update_name(obj.name, phase);
                        this.Update_description(obj.description, phase);
                        this.Update_price(obj.price, phase);
                    }
                }
            }