コード例 #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::T1907A.Models.Customer)newDataRoot;
         return(true);
     }
     return(false);
 }
コード例 #2
0
            // Update methods for each path node used in binding steps.
            private void Update_(global::T1907A.Models.Customer obj, int phase)
            {
                CustomerList_obj4_Bindings bindings = this;

                if (obj != null)
                {
                    if ((phase & (NOT_PHASED | (1 << 0))) != 0)
                    {
                        this.Update_Name(obj.Name, phase);
                        this.Update_Phonenumber(obj.Phonenumber, phase);
                    }
                }
            }